C++ 导入msado15.dll时出错
我试图将MasoDoDDLL导入到C++项目中,但是我得到了一组这样的错误:C++ 导入msado15.dll时出错,c++,database,dll,compiler-errors,ado,C++,Database,Dll,Compiler Errors,Ado,我试图将MasoDoDDLL导入到C++项目中,但是我得到了一组这样的错误: error C2018: unknown character '0x40' error C2146: syntax error : missing ';' before identifier 'ÿÿ¸' error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 以下是我的include指令
error C2018: unknown character '0x40'
error C2146: syntax error : missing ';' before identifier 'ÿÿ¸'
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
以下是我的include指令:
#include "C:\program files\common files\system\ado\msado15.dll"
使用
import
而不是include
使用import
而不是include
您还需要重命名EOF
#import "C:\program files\common files\system\ado\msado15.dll" rename("EOF", "EndOfFile")
不要问我为什么。您还需要重命名EOF
#import "C:\program files\common files\system\ado\msado15.dll" rename("EOF", "EndOfFile")
别问我为什么