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
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 |
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 |
Why Array Index starts from Zero
List out the parameters of WinMain Function.
What is the difference between GetMessage and PeekMessage ?
what is the difference between compiling and building?
Given two processes, how can they share memory?
What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,
What is the use of CCmdTarget ?
Differ GetMessage, PostMessage & PeakMessage?
What is the difference between Struts and JSF? Pls list some most suitable differences.
Explain in sort What is CTargetObject?
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