UltraLite User's Guide
Developing C++ API Applications
Building your UltraLite C++ application
When you compile your UltraLite application, you must ensure that the compiler can locate all the required files.
Generated source files You must included the generated files describing the API in your project. This includes the generated .cpp file, .h file, and .hpp file.
UltraLite header files You must configure your compiler so that it can locate the UltraLite header files.
These header files are installed into the h directory under your Adaptive Server Anywhere installation directory.
UltraLite c file You must configure your linker so that it can locate the UltraLite API file ulapi.cpp.
This file is installed into the src subdirectory of your Adaptive Server Anywhere installation directory.
Library or import library You must configure your compiler so that it can locate the UltraLite runtime library for your target platform or, in the case that you are using the UltraLite runtime DLL, the UltraLite imports library.
These files are installed under the UltraLite subdirectory of your Adaptive Server Anywhere installation directory. Each target platform has a separated directory, and if there are different processors for a platform, each has its own subdirectory.
For a sample application that includes compilation options, see the files in Samples\UltraLite\apitutorial.