#pragma warning(default:4146)
#import "C:\Program Files\Common Files\System\ado\msado15.dll" no_namespace rename ("EOF","adoEOF")
#pragma warning(default:4146)
using namespace ADODB;
_ConnectionPtr m_pConnection;
_RecordsetPtr m_pRecordset;
_CommandPtr m_pCommand;
m_pConnection.CreateInstance(ADODB.Connection);
m_pRecordset.CreateInstance(ADODB.Recordset);
C++连接数据库总是报错