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 size of class
if both base and derived class have the constructors if i create an object for derive class which class constructor is executed first
How you create a button dynamically?
What interface must be supported by an ActiveX control?
In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?
What is the use of message map ?
What is model and modeless dialog box ? Give some examples?
Tell us something about MFC?
How to access document object from view ?
If application hangs while SendMessage is waiting for the result, how you handle it?
How do I create a dialog box in mfc?
What is the base class for MFC