Click here to Skip to main content
15,892,965 members
Articles / Database Development / SQL Server

High Performance OLE DB library : Ease of ADO, power of OLE DB

Rate me:
Please Sign up or sign in to vote.
2.50/5 (6 votes)
2 Dec 20013 min read 83.3K   3.4K   41  
Introduction to OLE DB extended classes
========================================================================
       OLEDB CLASS LIBRARY TEST : ODLTest
========================================================================

This application is provided for the illustration of Sypram Technology's
OLEDB class library. There is no practical significance of this application
other than provide a sample application for understanding.

In order to use sypram's OLEDB library, the following basic steps are required.

[1] Include following 3 files in your project. 
    
    SypODLObjects.h, SypODLObjects.cpp, SypODLResource.h

[2] In the View->Resource Includes, add the following line at the end of Compile-time Directives :

    #include "SypOleDbLib.rc"

========================================================================

The ODL library is very large and sophisticated, we have used only a strippped-down
version of it here for illustration purpose. In this version of library, only the 
following classes are included :

********************
CSypODLConnection : 
********************
A database connection wrapper class that encapsulates 'CDataSource'  and 'CSession' classes of ATL consumer templates.

********************
CSypODLRecordset : 
********************
A Recordset wrapper class that encapsulates 'CTable'  and 'CCommand' classes of ATL consumer templates.

********************
CSypOLEDBErr : 
********************
A wrapper class for trapping and analysing database and other errors.

  
 

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions