rturrentine
April 27th, 1999, 01:33 PM
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?
|
Click to See Complete Forum and Search --> : MFC Serialization : Changing the name of a class? rturrentine April 27th, 1999, 01:33 PM 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? Anthony Zhang April 28th, 1999, 07:19 AM I think you can try to utilize the schema: if (schema <= 1) serialize old class name else serialize new class name. Good luck! codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |