|
菲菲 张wrote:
我的邮箱是619677621@qq.com
Mar. 29
|
|
|
菲菲 张wrote:
銘華你好,我是一个vc++的菜鸟,遇到了一个mfc同时操纵word和excel的棘手问题,我用mfc操作word时,用了Microsoft Word 11.0 Object Library <8.3>类库,没出现问题,可是想同时操作excel时,当添加类库Microsoft Excel 11.0 Object Library <1.5>的CApplication0.h却出现了102个错误,错误都在同一个文件excel.tlh中,我用的是vs2005,希望得到你的帮助,谢谢!
错误 16 error C3121: cannot change GUID for class 'Adjustments' e:\ \test4\debug\excel.tlh 27 错误 17 error C3121: cannot change GUID for class 'CalloutFormat' e:\ \test4\debug\excel.tlh 29 错误 18 error C3121: cannot change GUID for class 'ColorFormat' e:\ \test4\debug\excel.tlh 31 错误 85 error C2923: '_com_IIID' : 'Arc' is not a valid template type argument for parameter '_Interface' e:\ \test4\debug\excel.tlh 1301 错误 86 error C3203: '_com_IIID' : unspecialized class template can't be used as a template argument for template parameter '_IIID', expected a real type e:\ \test4\debug\excel.tlh 1301 错误 87 error C2371: 'PicturePtr' : redefinition; different basic types e:\ \test4\debug\excel.tlh 1308 错误 88 error C2011: 'Adjustments' : 'struct' type redefinition e:\ \test4\debug\excel.tlh 1688
Mar. 29
|