CObject is the root class for most of the Microsoft Foundation Class Library. The Foundation Class CObject contains many useful features that you may want to incorporate into your own program objects, including support for serialization, debugging output, and run-time class information. If you derive the class from CObject, your class can exploit these CObject features.