is there any class which is not derived from Cobject
Answers were Sorted based on User's Feedback
Answer / srivani
Classes Not Derived from Cobject are
------------------
Simple Value Types
------------------
CFileTime
CFileTimeSpan
CPoint
CRect
CSize
CSimpleStringT
|__CStringT
|_CFixedStringT
CTime
CTimeSpan
---------------
Support Classes
---------------
CCmdUI
|_COleCmdUI
CDaoFieldExchange
CDataExchange
CDBVariant
CFiledExchange
CImage
COccManager
COleDataObject
COleDispatchDriver
CPropExchange
CRecentFileList
CRectTracker
CWaitCursor
-------------------
Internet Server API
--------------------
CHttpArgList
CHtmlStream
CHttpFilter
CHttpFilterContext
CHttpServer
CHttpServerContext
----------------------------
Run-Time Object Model Support
------------------------------
CArchive
CDumpContext
CRuntimeClass
----------
Structures
----------
CCreateContext
CHttpArg
CMemoryState
COleSafArray
CPrintInfo
-------------------------
TypedTemplate Collections
--------------------------
CTypedPtrArray
CTypedPtrList
CTypedPtrMap
-----------------
OLE Type wrappers
-----------------
CFontHolder
CPictureHolder
--------------------
OLE Automation Types
--------------------
COleCurency
COleDateTime
COleDateTimeSpan
COleVariant
----------------
Synchronization
----------------
CMultiLock
CSingleLock
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / kchenthilk
many classes are not derived from CObject.
like
CArchive
CRunTimeClass
CString
Cpoint
CRect
CTime,CTimeSpan
CDataExchange
CSingleLock
CMultiLock
CCmdUI and many more...
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / unity
CARCHIVE also is a class which is not derived from any
(base )class )
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / sarang
CCreateContext,
CMemoryState,
CPrintInfo,
COleSafeArray,
CImage,
CWaitCursor. These are something missed from above answers.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / krish
COleCurrency
COleDateTime
COleDateTimeSpan
COleVariant
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / rupam
Check this link for all those classes which are under
CObject and which are not??
http://msdn.microsoft.com/en-us/library/ws8s10w4(VS.80).aspx
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the difference between GetMessage and PeekMessage ?
What types of threads are supported by MFC framework?
Difference between Debug and Release versions?
1)set the Title for The File DialogBox, in MFC?
What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?
how u can move CDC pointer to one line in cview?
Tell us something about MFC?
What function is used to retrieve the currently selected index in a list box?
I want recent paper pattern for HP company?
How to update all the views whenver document got updated ?
what is the size of a process
What interface must be supported by an ActiveX control?