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.
The overhead in deriving from class CObject is minimal. Your derived class inherits only four virtual functions and a single CRuntimeClass object.