共用方式為


Root Class: 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 Root Class: CObject.

Most of the classes in the Microsoft Foundation Class (MFC) Library are derived from a single base class at the root of the class hierarchy. CObject provides a number of useful capabilities to all classes derived from it, with very low overhead. For more information about CObject and its capabilities, see Using CObject.

CObject
The ultimate base class of most MFC classes. Supports serializing data and obtaining run-time information about a class.

CRuntimeClass
Structure used to determine the exact class of an object at run time.

See Also

Class Overview