-
September 24th, 2006, 05:32 AM
#1
-
September 24th, 2006, 06:35 AM
#2
Re: HELP with a serialization dilemma!
Originally Posted by Desvario
This little square means the length of the following field, right? So far so good.
No - it can mean that, in a few cases, but need not. The "little square" is just nortepad's way to indicate that a value it found in the file can't be interpreted as a printable character. Keep in mind that the MFC serialization format is a binary one, and the resulting files are not text files. Also, they don't just contain the text content of CString objects with length information, but the complete serialization description of the object tree, version information end so on. So if you want to create a text file with a PHP script, and read that into your application, you can't use MFC serialization for that, but rather add an import function that reads and parses the text file (in a format that you can define) and then creates the required MFC objects.
-
September 24th, 2006, 07:24 AM
#3
Re: HELP with a serialization dilemma!
Hi there!
Thanks for the reply.
So let me see if i get it...
So would be easier to set the VC++ to read a PHP rather than try to "serialize" using PHP ?
thanks.
Caminante no hay camino, se hace camino al andar.
-
September 24th, 2006, 08:51 AM
#4
Re: HELP with a serialization dilemma!
Originally Posted by Desvario
So would be easier to set the VC++ to read a PHP rather than try to "serialize" using PHP ?
Yes. Or, rather, more precisely: To enhance your code written in C++ so that it can read text files generated by your PHP script.
-
September 24th, 2006, 01:27 PM
#5
Re: HELP with a serialization dilemma!
Thank you A LOT!
I will take that approach!
Cheers.
Desva
Caminante no hay camino, se hace camino al andar.
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
|