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
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 |
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 |
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 |
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 |
What is the use of message map ?
How we call a dialog in another dialog?
What is a critical section and how is it implemented?
What is LoadLibrary function returns?
What is the difference between ASSERT and VERIFY?
What function is called by a document class to notify views that the document has been changed?
What is a message map?
How to update windows title bar dynamically?
What is the command routing in MFC framework?
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers
I can i set size of integer variable should be fixed for different operating systems(Ex i want integer size is 2bytes in OS)
What is the range of intensity of RGB