I hope someone can help...

I am having problems while serializing the objects in my document. No matter what I've tried "ar.GetObjectSchema()" always returns -1. I'm trying to allow my program to read a previous version of the data file. (I added objects that can be empty, so I just want the program to leave those things empty) All I ever get as a message is "Invalid file format" and the load fails if I try and read the old format. As far as I've been able to find, its because CArchive won't tell me what the version is (of the oblect being loaded). If I knew the version, I could skip the statements that read the new objects! What else is needed besides the basic serialization stuff?

I didn't include any code because it's just basic serialization, nothing REALLY conplicated.

thanks,
-Timothy Eyring