G
gerry.brennan
I have a generic c++ class database which interfaces to a database via
odbc, called database.cpp/database.h
When I am writing to the database I Open a CRecordset object and
populate the table in teh database.
I #include <afxdb.h> in the cpp file.
ALSO, it will be possible to pass in a CRecordset into the database
class.
In database.h I write create the prototype.
int getStockData(CRecordset* gData,String* sqlString);
The compiler complains that it does not know the type CRecordset.
When I include #include <afxdb.h>
I get "error C2872: 'IServiceProvider' : ambiguous symbol"
Can anyone Help.
odbc, called database.cpp/database.h
When I am writing to the database I Open a CRecordset object and
populate the table in teh database.
I #include <afxdb.h> in the cpp file.
ALSO, it will be possible to pass in a CRecordset into the database
class.
In database.h I write create the prototype.
int getStockData(CRecordset* gData,String* sqlString);
The compiler complains that it does not know the type CRecordset.
When I include #include <afxdb.h>
I get "error C2872: 'IServiceProvider' : ambiguous symbol"
Can anyone Help.