Home > DeveloperSection > Interviews > Name few classes in MFC which are not derived from CObject class ?

Posted on    July-23-2011 7:40 AM

 Visual C++ Visual C++ 
Ratings:
 1 Answer(s)
  1518  View(s)
Rate this:

James Smith

Total Post:79

Points:395
Posted on    July-23-2011 12:00 AM

The name of the few classes in MFC which is not derived from CObject class are

ActiveX Type Wrappers

CFontHolder
CPictureHolder

Automation Types

COleCurrency
COleDateTime
COleDateTimeSpan
COleVariant

Run-Time Object Model Support

CArchive
CDumpContext
CRuntimeClass

Simple Value Types
CPoint
CRect
CSize
CString
CTime
CTimeSpan

Structures

CCreateContext
CPrintInfo
CRunTimeClass

Support Classes

CCmdUI
CDataExchange
CLongBinary
COleDispatchDriver
CPropExchange

Synchronization Support

CSingleLock
CMultiLock
CRectTracker
CWaitCursor

Typed Template Collections

CTypedPtrArray
CTypedPtrList
CTypedPtrMap

Windows CE Database Classes

CCeDBEnum
CCeDBRecord.



Don't want to miss updates? Please click the below button!

Follow MindStick