How to get MFC serialization going without a CWinA

2019-09-09 22:36发布

问题:

I am writing a C++/CLI wrapper for an old MFC application, so far i have been able to read most of the data and convert the same into C# readable format.

As of now i am only struggling with reading data and am worried will writing data back to old MFC code affect serialization ?

Can you guys share/mention any other risks i might face while writing C++/CLI wrapper for MFC code ?

Thanks for your inputs.

this question is a continuation of "Redirecting data from MFC CArchive to boost::archive::xml_oarchive" Please go through this if you need more details. and do let me know if you need more information from me.

回答1:

the experience i had with this is, as long as we do not change existing "class/structure definitions" and "variable definitions", object serialization is not affected.