〓〓〓 为何编译COM总是出错??? 〓〓〓
错误LOG文件如下:请指点
CGEN: Compiling 'd:\_tmpguid.cpp'
d:\_tmpguid.cpp(25) unable to open 'objbase.h'
d:\_tmpguid.cpp(26) unable to open 'initguid.h'
d:\_tmpguid.cpp(30) syntax error; probable cause: missing ';'
d:\_tmpguid.cpp(32) syntax error; probable cause: missing ';'
d:\_tmpguid.cpp(34) syntax error; probable cause: missing ';'
d:\_tmpguid.cpp(36) syntax error; probable cause: missing ';'
CGEN: Compiling 'd:\_tmpclas.cpp'
d:\_tmpintf.h(33) unable to open 'unknwn.h'
d:\_tmpintf.h(33) included from d:\_tmpclas.h(29)
d:\_tmpintf.h(33) included from d:\_tmpclas.cpp(27)
d:\_tmpintf.h(34) unable to open 'oaidl.h'
d:\_tmpintf.h(35) unable to open 'ole2.h'
d:\_tmpintf.h(38) syntax error; probable cause: missing ';'
d:\_tmpintf.h(40) syntax error; probable cause: missing ';'
d:\_tmpintf.h(42) syntax error; probable cause: missing ';'
d:\_tmpintf.h(44) typedef 'interface' defined without an explicit type
d:\_tmpintf.h(44) syntax error; probable cause: missing ';'
d:\_tmpintf.h(47) syntax error; probable cause: missing ';'
d:\_tmpintf.h(49) 'In_forms' is not a function
d:\_tmpintf.h(62) syntax error
d:\_tmpclas.h(32) unable to open 'pbgrunif.h'
d:\_tmpserv.h(28) unable to open 'pbgreslt.h'
d:\_tmpserv.h(31) unable to open 'pbgtypif.h'
d:\_tmpserv.h(34) unable to open 'pbgrunif.h'
d:\_tmpserv.h(40) syntax error; probable cause: missing ';'
d:\_tmpserv.h(41) syntax error; probable cause: missing ';'
d:\_tmpserv.h(47) unable to open 'pbgtypes.h'
d:\_tmpserv.h(51) unable to open 'pbgrunif.h'
d:\_tmpserv.h(86) typedef 'PBRESULT' defined without an explicit type
d:\_tmpserv.h(86) too many errors: compilation aborted
CGEN: Compiling 'd:\_tmpserv.cpp'
d:\_tmpintf.h(33) unable to open 'unknwn.h'
d:\_tmpintf.h(33) included from d:\_tmpclas.h(29)
d:\_tmpintf.h(33) included from d:\_tmpserv.cpp(23)
d:\_tmpintf.h(34) unable to open 'oaidl.h'
d:\_tmpintf.h(35) unable to open 'ole2.h'
d:\_tmpintf.h(38) syntax error; probable cause: missing ';'
d:\_tmpintf.h(40) syntax error; probable cause: missing ';'
d:\_tmpintf.h(42) syntax error; probable cause: missing ';'
d:\_tmpintf.h(44) typedef 'interface' defined without an explicit type
d:\_tmpintf.h(44) syntax error; probable cause: missing ';'
d:\_tmpintf.h(47) syntax error; probable cause: missing ';'
d:\_tmpintf.h(49) 'In_forms' is not a function
d:\_tmpintf.h(62) syntax error
d:\_tmpclas.h(32) unable to open 'pbgrunif.h'
d:\_tmpserv.h(28) unable to open 'pbgreslt.h'
d:\_tmpserv.h(31) unable to open 'pbgtypif.h'
d:\_tmpserv.h(34) unable to open 'pbgrunif.h'
d:\_tmpserv.h(40) syntax error; probable cause: missing ';'
d:\_tmpserv.h(41) syntax error; probable cause: missing ';'
d:\_tmpserv.h(47) unable to open 'pbgtypes.h'
d:\_tmpserv.h(51) unable to open 'pbgrunif.h'
d:\_tmpserv.h(86) typedef 'PBRESULT' defined without an explicit type
d:\_tmpserv.h(86) too many errors: compilation aborted
CGEN: Linking...
FILE
问题点数:100、回复次数:7Top
1 楼ericzhangali(另一个空间)回复于 2002-01-23 09:28:16 得分 40
看看包含文件的路径设置。
如果没少";"那就是前面问题引起的了。Top
2 楼nasy(!!!###东方不败###!!!)回复于 2002-01-23 09:48:30 得分 0
我就一个文件,放在d:\,还要哪里设置路径吗???
Top
3 楼ericzhangali(另一个空间)回复于 2002-01-23 11:06:47 得分 0
在PB的编译环境里啊。Top
4 楼nasy(!!!###东方不败###!!!)回复于 2002-01-23 11:12:46 得分 0
是指的library list??
还是其他地方??Top
5 楼fallstone(天蓝)回复于 2002-01-24 13:20:41 得分 60
上浮Top
6 楼fallstone(天蓝)回复于 2002-01-24 13:26:49 得分 0
//*@@*/Top
7 楼fallstone(天蓝)回复于 2002-01-24 14:30:43 得分 0
高手何在?Top




