在vc中加载msado15.dll文件出错
#import "c:\Program Files\Common Files\System\ado\msador15.dll"
no_namespace rename(EOF,adoEOF) rename("BOF","adoBOF")
请问是什么原因?
c:\program files\microsoft visual studio\myprojects\ado\debug\msador15.tlh(622) : error C2629: unexpected 'short ('
c:\program files\microsoft visual studio\myprojects\ado\debug\msador15.tlh(622) : error C2238: unexpected token(s) preceding ';'
c:\program files\microsoft visual studio\myprojects\ado\adoconn.h(12) : error C2146: syntax error : missing ';' before identifier 'rename'
c:\program files\microsoft visual studio\myprojects\ado\adoconn.h(12) : error C2501: 'no_namespace' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\myprojects\ado\adoconn.h(12) : fatal error C1004: unexpected end of file found
Error executing cl.exe.