Code Comments
Programming Forum and web based access to our favorite programming groups.Hi, I utilize the IMPLEMENT_SERIAL(CFondationDoc, CDocument, VERSIONABLE_SCHEMA | 1) macro in my document class. I want to distinct between two versions of my files. I have put "int nVersion = ar.GetObjectSchema();" in the loading portion of the Serialize method. But nVersion returns always -1. Do I have to store the schema number in the file ? I have tried with "ar.SetObjectSchema(1);", but it is not stored in the file. Thanks, Claude
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.