Creating the ObjectSerialization Class and Windows Form

As was just mentioned, you will be creating a managed C++ application. Select New, Project from Visual Studio .NET's File menu. Select Visual C++ projects from the list of project types and select the Managed C++ application project template. Give your project the name ObjectSerialization and click OK to create the project.

The project you are going to create consists of a main Windows Form. Contained on that form is a text box that will be used to dump the values of various data members so that you don't need to view them in the debugger each time you run your application. Serialization and deserialization will occur when you click the corresponding form's button. Also, in order to demonstrate ...

Get Sams Teach Yourself Visual C++® .NET in 24 Hours now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.