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.


Un composant sous licence distincte est requis.

Le cryptage certifié FIPS exige une licence distincte. Toutes les technologies de cryptage fort sont soumises à des réglementations d'exportation.

Voir Separately licensed components.

 See also