DECLARE_DYNAMIC 和 DECLARE_DYNCREATE 之间的区别?

Difference between DECLARE_DYNAMIC and DECLARE_DYNCREATE?(DECLARE_DYNAMIC 和 DECLARE_DYNCREATE 之间的区别?)

本文介绍了DECLARE_DYNAMIC 和 DECLARE_DYNCREATE 之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能告诉我DECLARE_DYNAMICDECLARE_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.

这篇关于DECLARE_DYNAMIC 和 DECLARE_DYNCREATE 之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:DECLARE_DYNAMIC 和 DECLARE_DYNCREATE 之间的区别?

基础教程推荐