Runtime ODBC link

 

The following example uses the API call for SQLConfigDataSource to create a system DSN. The example creates a data source for the sample database mydatabase.mdb when the database is located at %AppPath%\mdb\mydatabase.mdb.

 

Bibliography ACC2002: How to Use SQLConfigDataSource to Create an Access System DSN

MSKB

Download odbclink.zip Source code C++ 5KByte