Registering DLLs on Windows

When deploying SQL Anywhere, there are DLL files that must be registered for SQL Anywhere to function properly. Note that for Windows Vista or later versions of Windows, you must include the SQL Anywhere elevated operations agent (dbelevate11.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.

To register a DLL
  1. Open a command prompt.

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

  3. Enter the following command to register the provider (in this example, the OLE DB provider is registered):

    regsvr32 dboledb11.dll

The following table lists the DLLs that must be registered when deploying SQL Anywhere:

File Description
dbctrs11.dll The SQL Anywhere Performance Monitor counters.
dbmlsynccom.dll The Dbmlsync Integration Component (non-visual component).
dbmlsynccomg.dll The Dbmlsync Integration Component (visual component).
dbodbc11.dll The SQL Anywhere ODBC driver.
dboledb11.dll The SQL Anywhere OLE DB provider.
dboledba11.dll The SQL Anywhere OLE DB provider schema assist module.
Windows\system32\msxml4.dll The Microsoft XML Parser.