摘要:
用vc写了个简单的com,写了个方法,编译通过。在ole/com object viewer中都看的到library testlib,coclass testcom 都有了 在vb中reference后 private sub command1_click() dim t as testlib.testcom set t = createobject("testlib.testc......
摘要:
fatal error c1010: unexpected end of file while looking for precompiled header directive. 这是我编译时候出现的错误提示,不知道怎么去改?
......
组件中拿掉ATLMINCRT定义后添加方法失败,如下:
组件中拿掉ATL_MIN_CRT定义后添加方法失败,如下:
Unable to create the function because the header or the inplementation file could not be found.
是什么原因?
NO.1 作者: zzyx
不知道。
但你能确定加回ATL_MIN_CRT定义,就没有那个错误吗?
如果还有的话,就和ATL_MIN_CRT没有关系了
如果确实是的话,俺........不知道
NO.2 作者: Analyst
那就手工添加吧,这么点小事情也要依赖VC来帮你做?
摘要:
这是我打开word的代码 olecontainer1.createobjectfromfile(path,false); olecontainer1.doverb(1); 我敢肯定代码没有错误,可能是环境的问题。 因为以前没有错误的,因为最近忙于别的系统的开发,没有管这个,今天拿出来看的时候,就出现这个错误提示 eolesyserror with message "没有注册界面&......