Which Macro is a Super set of other two macro
DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE.
?

Answers were Sorted based on User's Feedback



Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREAT..

Answer / vasanth

DECLARE_SERIAL is super set for other 2 macros since The
DECLARE_SERIAL macro includes all the functionality of
DECLARE_DYNAMIC and DECLARE_DYNCREATE.

Is This Answer Correct ?    9 Yes 4 No

Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREAT..

Answer / deepak

it looks a wrong question to me .. there is no role of superset or subset here
in afx.h these are like :
*************************************************
#define IMPLEMENT_DYNAMIC(class_name, base_class_name) \
IMPLEMENT_RUNTIMECLASS(class_name, base_class_name, 0xFFFF, NULL, NULL)

#define IMPLEMENT_DYNCREATE(class_name, base_class_name) \
CObject* PASCAL class_name::CreateObject() \
{ return new class_name; } \
IMPLEMENT_RUNTIMECLASS(class_name, base_class_name, 0xFFFF, \
class_name::CreateObject, NULL)

#define IMPLEMENT_SERIAL(class_name, base_class_name, wSchema) \
CObject* PASCAL class_name::CreateObject() \
{ return new class_name; } \
*************************************************
so where is SUPER Class in it .it's a wrong question

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More MFC Interview Questions

What is the use of CObject::Dump function ?

4 Answers  


What is the base class for MFC Framework ?

4 Answers  


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


List out the parameters of WinMain Function.

2 Answers   Mphasis,


Tell me about different kinds of synchranization objects ?

6 Answers  


how do u identify RTTI in vc++

4 Answers   Siemens,


What is #progma and where it is used?

5 Answers   L&T,


is there any class which is not derived from Cobject

11 Answers   Patni,


What types of threads are supported by MFC framework?

2 Answers  


What is stack size in win32 program?

1 Answers   HCL,


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


In VC++ How to transfer between one exe to another exe while running..

5 Answers   Wipro,


Categories