Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » Deploying Databases and Applications » Deploying client applications » Deploying ODBC clients

ODBC driver required files Next Page

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 SQL Anywhere installer makes changes to the Windows 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. Please note that the names of the registry values are case sensitive.

You can use the regedit utility to inspect registry entries.

The SQL 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\
            SQL Anywhere 10

Sample values for 32-bit Windows are shown below:

Value name Value type Value data
Driver String install-dir\win32\dbodbc10.dll
Setup String install-dir\win32\dbodbc10.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
SQL Anywhere 10 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.