Could you please let me know what is difference between DECLARE_DYNAMIC and DECLARE_DYNCREATE?
DECLARE_DYNAMIC
DECLARE_DYNCREATE
Where exactly we can use them?
The first declares that a class has runtime type info and the second that instances can be created dynamically at runtime. This is described in detail in the MSDN documentation - see links like Run-Time Object Model Services for more info.