Using the import libraries

To use the DBTools functions, you must link your application against a DBTools import library that contains the required function definitions.

For Unix systems, no import library is required. Link directly against libdbtool11.so (non-threaded) or libdbtool11_r.so (threaded).

Import libraries

Import libraries for the DBTools interface are provided with SQL Anywhere for Windows and Windows Mobile. For Windows, they can be found in the SDK\Lib\x86 and SDK\Lib\x64 subdirectories under your SQL Anywhere installation directory. For Windows Mobile, the import library can be found in the SDK\Lib\CE\Arm.50 subdirectory under your SQL Anywhere installation directory. The provided DBTools import libraries are as follows:

Compiler

Library

Microsoft Windows

dbtlstm.lib

Microsoft Windows Mobile

dbtool11.lib