CompuServe Messages

#Serialise – Schemas ??

    10-Jul-94 19:02:37
Sb: #29505-#Serialise – Schemas ??
Fm: Tarn Faulkner [MSFT] 73764,3260
To: Peter Gray 100010,1022
Peter, >> I have a class within an application which I need to update. The class does not have a user version number implemented as it was never envisaged that the class would change, so I need a method of detecting if the class serialized from the disk is the old schema number or the new one. KBase article Q108370 (Example A) shows some example code for handling this situation, but I cannot get it to work as I cannot seem to trap the CArchiveException::badSchema within the classes 'Serialize' routine. << Is the exception being thrown but you are somehow not catching it? If you could post the TRY / CATCH block of your code that might give me an idea why the exception wasn't being caught. Thanks, Tarn Faulkner Microsoft Developer Support