UltraLite Embedded SQL User's Guide
Developing UltraLite Applications for the Palm Computing Platform
Developing UltraLite applications with Metrowerks CodeWarrior
This section describes how to use the UltraLite Plug-in for CodeWarrior.
To create an UltraLite project in CodeWarrior
Start CodeWarrior.
Create a new project.
From the CodeWarrior menu, choose File
On the Projects dialog, choose one of the available choices, and choose a name and location for the project. Click OK.
Choose an UltraLite stationery.
The UltraLite plug-in adds two choices to the stationery list, one for C++ API applications and one for embedded SQL applications.
Choose the development model you want to use and click OK to create the project.
This stationery is standard C stationery for embedded SQL, and standard C++ stationery for the C++ API, and contains almost-empty source files.
Configure the target settings for your project.
On your project window (.mcp), choose the Targets tab, and click the Settings icon on the toolbar. The Project Settings window opens.
In the tree on the left pane, choose Target
When you build an embedded SQL project, the UltraLite project calls sqlpp and ulgen utilities to convert any .sqc files into .c or .cpp files and to generate the database code.
The plugin also adds paths to required UltraLite files, such as headers and runtime library, to the search paths.