Compiling and linking your application

A set of runtime libraries is available for some platforms when using the UltraLite C++ API. These include, for Windows Mobile and Windows, a database engine that permits multi-process access to the same database.

The runtime libraries are provided in the install-dir\UltraLite\Palm, install-dir\UltraLite\ce,install-dir\UltraLite\win32 and install-dirx64 directories.

Runtime libraries for Palm OS

The following libraries are supplied for applications on the Palm OS. The libraries are located in install-dir\UltraLite\Palm\68k\lib\cw.

  • ulrt.lib   A static library.

  • ulbase.lib   A library containing extra functions that can not be provided in a separate dynamic link library (DLL). C/C++ applications should link against this library to ensure access to UltraLite features.

Runtime libraries for Windows Mobile

The Windows Mobile libraries are in the install-dir\UltraLite\ce\arm.50\Lib directory.

Dynamic libraries are provided for Windows Mobile:

  • ulbase.lib   A library containing extra functions that can not be provided in a separate dynamic link library (DLL). C/C++ applications should link against this library to ensure access to UltraLite features.

  • ulrt.lib   When linking against this library, be sure to specify the following compilation option:
    /DUNICODE

  • ulrtc.lib   A Unicode character set static library for use with the UltraLite engine for multi-process access to an UltraLite database.

    When linking against this library, be sure to specify the following compilation option:

    /DUNICODE

Runtime libraries for Windows desktops

The install-dir\UltraLite\win32\386\Lib\vs8 and install-dir\UltraLite\x64\Lib\vs8 directories contain libraries for supported Windows desktop operating systems. The following libraries are included:

  • ulbase.lib   A library containing functions that can not be provided in a separate dynamic link library (DLL). C/C++ applications should link against this library to ensure access to UltraLite features.

  • ulrt11.dll   An ANSI character set dynamic link library. To use this library, link your application against the import library, ulimp.lib.

    When linking against this library, be sure to specify the following compilation option:

    /DUL_USE_DLL