Derive the class from CObject or a class that was derived from CObject.
Provide a default constructor for your class.
Add the MFC macro DECLARE_SERIAL to the class definition.
Add the IMPLEMENT_SERIAL macro to your class implementation file.
Provide an override of the C Object::Serialize() function for your class.
Provide a default constructor for your class.
Add the MFC macro DECLARE_SERIAL to the class definition.
Add the IMPLEMENT_SERIAL macro to your class implementation file.
Provide an override of the C Object::Serialize() function for your class.
Comments