Difference between DECLARE_DYNAMIC and DECLARE_DYN

2020-07-06 04:34发布

问题:

Could you please let me know what is difference between DECLARE_DYNAMIC and DECLARE_DYNCREATE?

Where exactly we can use them?

回答1:

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.