UltraLite Static C++ User's Guide
Tutorial: Build an Application Using the C++ API
The UltraLite generator writes a C++ file and a header file that define an interface to the UltraLite database, as specified in the UltraLite database template.
To generate the UltraLite interface code
From a command prompt, change directory to your APITutorial directory.
Run the UltraLite generator with the following arguments (all on one line):
ulgen -c "dsn=UltraLite 9.0 Sample" -t c++ -u ProductPub -f ProductPubAPI
The generator writes out the following files:
ProductPubAPI.hpp This file contains prototypes for the generated API. You should inspect this file to determine the API you can use in your application .
ProductPubAPI.cpp This file contains the interface source. You do not need to look at this file.
ProductPubAPI.h This file contains internal definitions required by UltraLite. You do not need to look at this file.