5/7/09

What is the top base class for MFC Framework? If I derive a new class from CObject class what are the basic features my derived will get? OR what are

CObject

If I derive a new class from CObject class what are the basic features my derived will get? OR what are the main features provided by CObject class?
Answer:

a) Runtime class identification– know the objects class type at runtime.

b) Dynamic object creation.– Create object at runtime.

c)Serialization - Storing object to disk or reading object from disk

d)Diagnostic support. – provide debug information such as trace, memory dump.

1 comment:

Unknown said...

CObject

If I derive a new class from CObject class what are the basic features my derived will get? OR what are the main features provided by CObject class?
Answer:

a) Runtime class identification– know the objects class type at runtime.

b) Dynamic object creation.– Create object at runtime.

c)Serialization - Storing object to disk or reading object from disk

d)Diagnostic support. – provide debug information such as trace, memory dump.

ITUCU