|
-
March 28th, 1999, 09:59 AM
#1
Serializing from File
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
-
April 5th, 1999, 03:14 AM
#2
Re: Serializing from File
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
-
April 6th, 1999, 11:52 AM
#3
Re: Serializing from File
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 :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|