qocarlos
asked on
About Serialization
Hi all,
I am currently giving the finishing touches of large application (MDI,
Doc/View) and one of the last features still to implement is the command
'Save'.
I have derived all my classes from CObject so I thought that I could use
serialization mechanism. The problem with this is that I need to document
the format of my files so other people could write converters for these
files. Is this possible with the standar serialization mechanism?
It would be absolutely great if anybody could give me some examples about
how to do this.
Thanks in advance,
Carlos
I am currently giving the finishing touches of large application (MDI,
Doc/View) and one of the last features still to implement is the command
'Save'.
I have derived all my classes from CObject so I thought that I could use
serialization mechanism. The problem with this is that I need to document
the format of my files so other people could write converters for these
files. Is this possible with the standar serialization mechanism?
It would be absolutely great if anybody could give me some examples about
how to do this.
Thanks in advance,
Carlos
ASKER
Bernd,
thank you for your answer, but I need more information about this.
Do you recomend me to leave serialization?
thank you for your answer, but I need more information about this.
Do you recomend me to leave serialization?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks and sorry for the delay.
I have decided to define my own file format. Everything now
is working fine except that I don't know how to save the ole objects inserted in the application (it is a containter application).
I have asked this question also in experts-exchange.
Any idea
I have decided to define my own file format. Everything now
is working fine except that I don't know how to save the ole objects inserted in the application (it is a containter application).
I have asked this question also in experts-exchange.
Any idea
I never programmed an OLE container by now but I guess there is no other way than using you own format but serializing the OLE Object.. I don't know how other OLE containers save their documents...
Bye,
Bernd
Bye,
Bernd
Regards,
Bernd