应用ADO,在InitInstace中添加了AfxOleInit,但是用CADORecordeset怎么总是错误阿
用CADORecordeset声明对象的说话,怎么总是有错误
CADODatabase m_Db;
--------------------Configuration: ADOTest - Win32 Debug--------------------
Compiling...
ADOTest.cpp
d:\my program\c\数据库\adotest\adotestdlg.h(19) : error C2146: syntax error : missing ';' before identifier 'm_Db'
d:\my program\c\数据库\adotest\adotestdlg.h(19) : error C2501: 'CADODatabase' : missing storage-class or type specifiers