Saket Kumar Weblogs

It’s choice – not chance, which determine your destiny.

  • Archives

  • Categories

CObject

Posted by Saket Kumar on August 14, 2008

Que: What Does it Cost me to Derive a Class from CObject?
Ans: The overhead in deriving from class CObject is minimal. Your derived class inherits only four virtual  functions and a single CRuntimeClass object.

Que: What is the base class for “CRuntimeClass”?
Ans: CRuntimeClass is a structure and therefore does not have a base class.