Can i open a file which was serialized in MFC in a Java program ???
I wish to restore data from a document saved by a C++ program with MFC's Serialize().
Thanks for your help,
XN
Printable View
Can i open a file which was serialized in MFC in a Java program ???
I wish to restore data from a document saved by a C++ program with MFC's Serialize().
Thanks for your help,
XN
I believe there is fundamental difference between how java serializes and how MFC does the serialization. And Therefore it should not be possible to recreate the object from the file which was created using MFC's serialize() method.
May be if you understand how the MFC's serialize() method store the object info. thenyou can possible read from the file extract what ever info need.
hope this will help.
bye
It's not so hard, but you have to do some extrawork. You should overwrite the writeObject and readObject methods of the classes serialized. If you worked with MFC, it should not bother you :-)