|
|
Database wrappersA set of C++ classes wrapping the ODBC, SQLite and OLE DB database APIs.Database classes designed to seamlessly move between ODBC and the OLE DB interface without code changes. Designed with a generic database interface and a class factory pattern to remove traces of any technology specific class implementation. The classes expose storage information in the traditional Recordset and Command object types.
The ODBC classes are being tested with various database vendors, while
the OLE DB classes are still in development. The OLE DB wrappers require
the ATL The sample also includes classes for CSV files (Comma Separated Files; no SQL) and for the SQLite database (version 2 and 3). Code sampleThe following sample requires a predefined DSN for the good old Northwind sample database.
Source Code DependenciesMicrosoft Visual C++ 6.0Download Files
Written by Bjarke Viksoe. Article submitted 1/5/2002.
|
|||