Contents Index ODBC driver required files Deploying connection information

ASA Programming Guide
  Deploying Databases and Applications
    Deploying client applications
      Deploying ODBC clients

Configuring the ODBC driver

In addition to copying the ODBC driver files onto disk, your Setup program must also make a set of registry entries to install the ODBC driver properly.

Windows 

The Adaptive Server Anywhere Setup program makes changes to the Registry to identify and configure the ODBC driver. If you are building a setup program for your end users, you should make the same settings.

You can use the regedit utility to inspect registry entries.

The Adaptive Server Anywhere ODBC driver is identified to the system by a set of registry values in the following registry key:

HKEY_LOCAL_MACHINE\
   SOFTWARE\
      ODBC\
         ODBCINST.INI\
            Adaptive Server Anywhere 9.0

The values are as follows:

Value name Value type Value data
Driver String path\dbodbc9.dll
Setup String path\dbodbc9.dll

There is also a registry value in the following key:

HKEY_LOCAL_MACHINE\
   SOFTWARE\
      ODBC\
         ODBCINST.INI\
            ODBC Drivers

The value is as follows:

Value name Value type Value data
Adaptive Server Anywhere 9.0 String Installed
Third party ODBC drivers 

If you are using a third-party ODBC driver on an operating system other than Windows, consult the documentation for that driver on how to configure the ODBC driver.


Contents Index ODBC driver required files Deploying connection information