---
title: "Name few classes in MFC which are not derived from CObject class ?"  
description: "Name few classes in MFC which are not derived from CObject class ?"  
author: "James Smith"  
published: 2011-07-23  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/1101/name-few-classes-in-mfc-which-are-not-derived-from-cobject-class  
category: "visual c++"  
tags: ["visual c++"]  
reading_time: 2 minutes  

---

# Name few classes in MFC which are not derived from CObject class ?

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.\
\
\

## Answers

### Answer by James Smith

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.\
\
\


---

Original Source: https://www.mindstick.com/interview/1101/name-few-classes-in-mfc-which-are-not-derived-from-cobject-class

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
