随笔- 14
文章- 0
评论- 11
阅读-
18179
05 2012 档案
ATL 开发 COM 过程中的一些经验、问题总结
摘要:ATLVC 6.0环境下,VS里面类似。 ATL项目名称:TestAtl 接口:ITestInterface 实现类:CTestInterface 方法名称:Myfun Error:cannot instantiate abstract class due to following members warning:pure virtual function was not defined 1、 Add method以后编译连接出现 以上Error 或者 Warning 原因可能是参数类型不支持,例如用char* a可能会导致以上问题,换成BSTR a 就行了(有可能需...
阅读全文