#import "D:\program files\common files\system\ado\msado15.dll" 后编译错误
#import "D:\program files\common files\system\ado\msado15.dll" no_namespace
我在按上述方法引入ado后,编译出下列错误,但我在其他工程中这样作却没问题
compiling...
StdAfx.cpp
Compiling MFC header files in release mode.
f:\hmd\debug\msado15.tlh(405) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
f:\hmd\debug\msado15.tlh(2661) : error C2059: syntax error : 'constant'
f:\hmd\debug\msado15.tlh(2661) : error C2238: unexpected token(s) preceding ';'
Error executing cl.exe.
TSDIZCC_HMD.arx - 2 error(s), 1 warning(s)