Download Card Software User Manual

Transcript
Driver Manager
The Driver Manager, is a dynamically linked library (DLL)
with an import library. The primary purpose of the Driver
Manager is to load drivers. The Driver Manager also performs
the following:
1.
2.
3.
4.
Uses the ODBC.INI file to map a data source name to a
specific driver dynamically-linked (DLL)
Processes several ODBC initialization calls
Provides entry points to ODBC functions for each driver
Provides parameter validation and sequence validation
for ODBC calls
Driver
A driver is a DLL that implements ODBC function calls and
interacts with a data source (a data source includes the data a
user wants to access and the information needed to get to
that data).
The Driver Manager loads a driver when the application calls
it.
A driver performs the following tasks in response to ODBC
function calls from an application:
·
·
·
·
·
·
·
192
Establishes a connection to a data source
Submits requests to the data source
Translates data to or from other formats, if requested by
the application
Returns results to the application
Formats errors into standard error codes and returns them
to the application
Declares and manipulates cursors if necessary. (This
operation is invisible to the application unless there is a
request for access to a cursor name)
Initiates transactions if the data source requires explicit
transaction initiation. (This operation is invisible to the
application)
Card Software User Manual