Automation与Createable by type ID有何区别

beturing 2002-06-28 04:21:49
使用Mfc编写com,用ClassWizard生成一个类,从CCmdTarget继承来,Automation里有None、Automation与Createable by type ID三个选项。有什么区别?
...全文
117 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
mul 2002-07-08
  • 打赏
  • 举报
回复
Createable by type ID
1.类工厂支持
2.把IID等写入ODL

选择Automation,再手工添加以上内容可与选择Createable by type ID同样效果
proe 2002-07-04
  • 打赏
  • 举报
回复
If your vb client wants to create a instance of the class, you have to choose Createable BY Type ID and type its progID on the right filed.

Automation, if you select it, the class will support automation.

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧