Using CObject

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Using CObject.

CObject](../Topic/CObject%20Class.md) is the root base class for most of the Microsoft Foundation Class Library (MFC). The CObject class contains many useful features that you may want to incorporate into your own program objects, including serialization support, run-time class information, and object diagnostic output. If you derive your class from CObject, your class can exploit these CObject features.

What do you want to do

See Also

Concepts
General MFC Topics
CRuntimeClass Structure
Files
Serialization