Share via


What Does it Cost me to Derive a Class from CObject?

The overhead in deriving from class CObject is minimal. Your derived class inherits only four virtual functions and a single CRuntimeClass object.

See Also

Concepts

CObject Class: Frequently Asked Questions