I have a simple question about serializing objects.
having three classes A, B, C
C is derived from B which is derived from A; A itself is derived from CObject:
Each class has its own Serialize() function. Each class is responsible
for storing/loading its specific member variables.
To store/load the additional variables of the base calss(es), it first
calls Serialize() from the base class.
Now my question:
Is it possible to use versionable schemas here ?
I've tried it and my problem is that only the function in the
"first Serialize()-level" gets the schema number.
All other functions get "-1" for archive number.
I can't believe that the Microsofties didn't take this into their
design goals since this this object oriented programming at a very
basic level ...
I appreciate your comments.