DECLARE_DYNAMIC 和 DECLARE_DYNCREATE 之间的区别?
您能告诉我DECLARE_DYNAMIC
和DECLARE_DYNCREATE
有什么区别吗?
Could you please let me know what is difference between DECLARE_DYNAMIC
and DECLARE_DYNCREATE
?
我们可以在哪里使用它们?
Where exactly we can use them?
推荐答案
第一个声明类具有运行时类型信息,第二个声明可以在运行时动态创建实例.这在 MSDN 文档中有详细描述 - 请参阅 运行时对象模型服务了解更多信息.
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.
相关文章