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

SQL Anywhere 12.0.1 » SQL Anywhere Server - Programming » Database and application deployment


Registering DLLs on Windows

Some DLL files require registration if deployed for use with SQL Anywhere. Note that for Windows Vista or later versions of Windows, you must include the SQL Anywhere elevated operations agent (dbelevate12.exe) which supports the privilege elevation required when DLLs are registered or unregistered.

There are many ways you can register these DLLs, including in an install script or using the regsvr32 utility on Windows or the regsvrce utility on Windows Mobile. You could also include a command, like the one in the following procedure, in a batch file.

 Register a DLL
  1. Open a command prompt.

  2. Change to the directory where the DLL is installed.

  3. Enter the following command to register the DLL (in this example, the ODBC driver is registered):

    regsvr32 dbodbc12.dll

The following table lists the DLLs that require registration if deployed on Windows:

File Description
dbctrs12.dll The SQL Anywhere Performance Monitor counters.
dbodbc12.dll The SQL Anywhere ODBC driver.
dboledb12.dll The SQL Anywhere OLE DB provider.
dboledba12.dll The SQL Anywhere OLE DB provider schema assist module (Windows only).
msxml4.dll The Microsoft XML Parser (used by UltraLite 32-bit only for unloading UltraLite version 9.0 databases).