QA

   

Q&A

Q1:

Can I serialize and deserialize a class within that class itself?

A1:

Theoretically you could by creating a pointer to the class and assigning the value of the this pointer. However, there is no way to change the actual class itself because that requires changing the this pointer, which is a const.

Q2:

Can you serialize a binary object such as bitmap data using XML serialization?

A2:

Yes, you can. XML supports binary encoding, which converts binary data into an encoded ASCII format.


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net