If i derive a new class from CObject what are the basic
features my derived wil get ?

Answers were Sorted based on User's Feedback



If i derive a new class from CObject what are the basic features my derived wil get ? ..

Answer / kirankumar

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 ?    14 Yes 0 No

If i derive a new class from CObject what are the basic features my derived wil get ? ..

Answer / sonali d

COject provide three important feature :
Serilization Support
Runtime class Information Support
Diagnostic and debuggin support

Is This Answer Correct ?    4 Yes 0 No

If i derive a new class from CObject what are the basic features my derived wil get ? ..

Answer / srinivas endra

You can choose from four levels of functionality when
deriving a class from CObject:
• Basic functionality: No support for run-time class
information or serialization but includes diagnostic memory
management.
• Basic functionality plus support for run-time class
information.
• Basic functionality plus support for run-time class
information and dynamic creation.
• Basic functionality plus support for run-time class
information, dynamic creation, and serialization

Is This Answer Correct ?    5 Yes 1 No

If i derive a new class from CObject what are the basic features my derived wil get ? ..

Answer / venkataramakrishna

1. CObjct does support run time VTable.
because it should support IUnknown Interface.
2. The derived base class should not contain early binding
VTbale.
3. Should no over ride the CObject functions.
4. no pure virtual functions should not be declared.

A part from this CObject support RTTI, Debuging,
Serialization and Dump functionalites

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More MFC Interview Questions

What is LPCTSTR? What does LP denote it?

4 Answers  


how does the UIThread and worker thread communicates and handle events

2 Answers   HCL,


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


Explain StretchBlt and BitBlt

1 Answers  


Do you have an idea about MFC?

0 Answers   C DAC, CDAC,






How to convert the content of buffer into lower case character.

3 Answers   E Logic,


What is the base class for MFC Framework ?

4 Answers  


Tell us something about MFC?

7 Answers   Microsoft,


What is the use of message map ?

5 Answers   TCS,


what is the difference between compiling and building?

1 Answers  


What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


what is the updated verssion in vc++

3 Answers   Aspect,


Categories