What is the base class for MFC Framework ?

Answers were Sorted based on User's Feedback



What is the base class for MFC Framework ? ..

Answer / nkotesh

CObject is the base class for Microsoft Foundation Classes.
It's used to support Serialization, Runtime Class
Information and Object diagonstics

Is This Answer Correct ?    22 Yes 1 No

What is the base class for MFC Framework ? ..

Answer / john samuel

CObject is the principal base class for the Microsoft
Foundation Class Library. It serves as the root not only for
library classes such as CFile and CObList, but also for the
classes that you write. CObject provides basic services,
including

Serialization support
Run-time class information
Object diagnostic output
Compatibility with collection classes

Is This Answer Correct ?    18 Yes 2 No

What is the base class for MFC Framework ? ..

Answer / jones

CObject

Is This Answer Correct ?    15 Yes 2 No

What is the base class for MFC Framework ? ..

Answer / ctharam

CObject is the root base class for most of the Microsoft Foundation Class Library (MFC).

The CObject class contains many useful features that

1) Serialization
2) Debugging
3) Dynamically create Objects
4) Compatibility with Collection Classes
5) Derive your class from CObject

Use the normal syntax to derive CTharam class from CObject

class CTharam : public CObject
{
// add CTharam-specific members and functions...
}

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More MFC Interview Questions

what is the use of AFX_MANAGE_STATE ?

4 Answers   HCL,


Explain the flow of SDI application?

8 Answers   Mphasis,


How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


What is a message map, and what is the advantage of a message map over virtual functions?

1 Answers  


What view class enables you to use an edit control as a view?

1 Answers  






How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?

0 Answers  


What is the difference between GetMessage and PeekMessage ?

3 Answers  


Does the application have more than one object? If no, then what is the reason?

5 Answers  


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


is there any class which is not derived from Cobject

11 Answers   Patni,


If there is more than 100 control in a window how we can change the Taborder of a controls

4 Answers   Satyam,


What is the difference between Extension DLL and Regular DLL?

6 Answers   GE,


Categories