I need to change the name of a CObject based MFC class that uses Serialize. How can I do this and still maintain backwards compatability with existing data files?
Printable View
I need to change the name of a CObject based MFC class that uses Serialize. How can I do this and still maintain backwards compatability with existing data files?
I think you can try to utilize the schema:
if (schema <= 1) serialize old class name
else serialize new class name.
Good luck!