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 use of UpdateData funciton ?
What is a message map, and what is the advantage of a message map over virtual functions?
What is the base class for MFC Framework ?
What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?
How can server communicate with more than one client
How to convert the content of buffer into lower case character.
what message is sent to an application when the user presses the primary button?
what is the component of CLR ?
What is the initial function to be called in MFC and what it will do
1)How to change the size of a button at run time ?
What interface must be supported by an ActiveX control?
List out the basic features of MFC.