rror C2146: syntax error : missing ';' before identifier 'Record1'
h:\eqiup\datamanage.h(20) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
h:\eqiup\datamanage.h(20) : error C2501: 'Record1' : missing storage-class or type specifiers
h:\eqiup\datamanage.h(22) : error C2146: syntax error : missing ';' before identifier 'DataConn'
h:\eqiup\datamanage.h(22) : error C2501: '_ConnectionPtr' : missing storage-class or type specifiers
h:\eqiup\datamanage.h(22) : error C2501: 'DataConn' : missing storage-class or type specifiers
h:\eqiup\datamanage.h(23) : error C2146: syntax error : missing ';' before identifier 'DataRecord'
h:\eqiup\datamanage.h(23) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
h:\eqiup\datamanage.h(23) : error C2501: 'DataRecord' : missing storage-class or type specifiers
h:\eqiup\datamanage.h(26) : error C2146: syntax error : missing ';' before identifier 'GetConn'
h:\eqiup\datamanage.h(26) : error C2501: '_ConnectionPtr' : missing storage-class or type specifiers
h:\eqiup\datamanage.h(27) : error C2146: syntax error : missing ';' before identifier 'GetRecordset'
h:\eqiup\datamanage.h(27) : error C2501: '_RecordsetPtr' : missing storage-class or type specifiers
H:\EQiup\DataManage.cpp(21) : error C2065: 'DataConn' : undeclared identifier
H:\EQiup\DataManage.cpp(21) : error C2228: left of '.CreateInstance' must have class/struct/union type
H:\EQiup\DataManage.cpp(21) : error C2065: 'Connection' : undeclared identifier
H:\EQiup\DataManage.cpp(22) : error C2065: 'DataRecord' : undeclared identifier
H:\EQiup\DataManage.cpp(22) : error C2228: left of '.CreateInstance' must have class/struct/union type
H:\EQiup\DataManage.cpp(22) : error C2065: 'Recordset' : undeclared identifier
H:\EQiup\DataManage.cpp(23) : error C2065: 'Record1' : undeclared identifier
H:\EQiup\DataManage.cpp(23) : error C2228: left of '.CreateInstance' must have class/struct/union type
H:\EQiup\DataManage.cpp(29) : error C2228: left of '.Release' must have class/struct/union type
H:\EQiup\DataManage.cpp(30) : error C2228: left of '.Release' must have class/struct/union type
H:\EQiup\DataManage.cpp(31) : error C2228: left of '.Release' must have class/struct/union type
H:\EQiup\DataManage.cpp(35) : error C2143: syntax error : missing ';' before 'tag::id'
H:\EQiup\DataManage.cpp(35) : error C2501: '_ConnectionPtr' : missing storage-class or type specifiers
以上是错误代码,但是我之前写他的时候没有问题,为什么几天编译的时候就出现这种问题呢?动态链接库我也导入进去了