CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    1

    MFC Serialization : Changing the name of a class?

    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?


  2. #2
    Join Date
    Apr 1999
    Posts
    17

    Re: MFC Serialization : Changing the name of a class?

    I think you can try to utilize the schema:
    if (schema <= 1) serialize old class name
    else serialize new class name.

    Good luck!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured