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

Types of DLL's

11 Answers   Invensys,


what is message loop how mfc does it internally?

4 Answers   Aspire,


Does the application have more than one object? If Yes, Briefly explain.

2 Answers   Soltius Infotech,


What is LPCTSTR? What does LP denote it?

4 Answers  


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

2 Answers  






What is the use of CObject::Dump function ?

4 Answers  


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


Explain in sort What is CTargetObject?

2 Answers  


How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?

0 Answers  


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


What is the difference between regular dlls and extended dlls?

2 Answers  


Psychic Window Technique

2 Answers   E Logic, Wild Net,


Categories