Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

1) create ToolTip in MFC?

2 Answers   HCL,


What function is used to disable a control at runtime?

7 Answers  


Explain the flow of SDI application?

8 Answers   Mphasis,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is CSingleDocTemplate?

1 Answers  


What is the base class for most MFC classes?

7 Answers   CMC, Siemens,


How we call a dialog in another dialog?

2 Answers  


What types of threads are supported by MFC framework?

2 Answers  


What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?

5 Answers   Atos Origin,


1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


Why not virtual functions to handle messages?

5 Answers  


Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,


Categories