1、我在头文件中引入#import "c:\Program Files\common files\system\ado\msado15.dll"\ no_namespace \ rename ("EOF", "adoEOF")时,一编译就提示下面的错误:
error C2017: illegal escape sequence,
error C2501: 'no_namespace' : missing storage-class or type specifiers,
syntax error : missing ';' before identifier 'rename'都是指向上面的代码的。
2、 adCreateStructDoc = -2147483648,连这个也出错:warning C4146: unary minus operator applied to unsigned type, result still unsigned
3、msado15.tlh中下面这句VARIANT_BOOL EOF;也有两个错误:error C2629: unexpected 'short ('和error C2238: unexpected token(s) preceding ';'
error C2017: illegal escape sequence,
error C2501: 'no_namespace' : missing storage-class or type specifiers,
syntax error : missing ';' before identifier 'rename'都是指向上面的代码的。
2、 adCreateStructDoc = -2147483648,连这个也出错:warning C4146: unary minus operator applied to unsigned type, result still unsigned
3、msado15.tlh中下面这句VARIANT_BOOL EOF;也有两个错误:error C2629: unexpected 'short ('和error C2238: unexpected token(s) preceding ';'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货