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

SAP Sybase SQL Anywhere 16.0 » UltraLite - C and C++ Programming » Application development » UltraLite C++ application development using embedded SQL » Embedded SQL application building


General build procedures

The following procedure is generally used when building an UltraLite embedded SQL application:

  1. Run the SQL preprocessor on each embedded SQL source file.

    The SQL preprocessor is the sqlpp command line utility. It preprocesses the embedded SQL source files, producing C++ source files to be compiled into your application.


    sqlpp overwrites the output file without regard to its contents. Ensure that the output file name does not match the name of any of your source files. By default, sqlpp constructs the output file name by changing the suffix of your source file to .cpp. When in doubt, specify the output file name explicitly, following the name of the source file.

  2. Compile each C++ source file for the target platform of your choice. Include:

    • each C++ file generated by the SQL preprocessor

    • any additional C or C++ source files required by your application

  3. Link all these object files, together with the UltraLite runtime library.

You can find a makefile that uses this process in the %SQLANYSAMP16%\UltraLite\ESQLSecurity directory.


Separately licensed component required.

FIPS-certified encryption requires a separate license. All strong encryption technologies are subject to export regulations.

See Separately licensed components.

 See also