◄CObject► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── DECLARE_SERIAL( class_name ) Parameter Description <class_name> The actual name of the class (without quotes). Remarks DECLARE_SERIAL generates the C++ header code necessary for a CObject-derived class that can be serialized. Use the DECLARE_SERIAL macro in a .H module, then include that module in all .CPP modules that need access to objects of this class. For more information, see "How to Derive a Class from CObject," in Chapter 8 of the <Class Libraries User's Guide>. If DECLARE_SERIAL is included in the class declaration, then IMPLEMENT_SERIAL must be included in the class implementation. The DECLARE_SERIAL macro includes all the functionality of DECLARE_DYNAMIC. See Also ◄DECLARE_DYNAMIC Macro►, ◄IMPLEMENT_SERIAL Macro► -♦-