Start CodeWarrior.
Create a new project:
From the CodeWarrior menu, choose File > New. A tabbed dialog appears.
On the Projects tab, choose Palm OS Application Stationery.
Also on the Projects tab, choose a name and location for the project. Click OK.
Choose an UltraLite stationery.
The UltraLite plug-in adds the following choices to the stationery list:
Choose the development model you want to use and click OK to create the project.
The stationery is standard C stationery for embedded SQL, and standard C++ stationery for C++.
If you are using embedded SQL, configure the settings in the UltraLite Preprocessor Panel for your project. If you are using C++ these settings are ignored.
On your project window (.mcp), click the Settings icon on the toolbar. The Project Settings window opens.
In the tree on the left pane, choose Target > UltraLite Preprocessor. Enter the settings for your project.
When you build an embedded SQL project, the UltraLite plug-in calls sqlpp to preprocess .sqc files into .c/.cpp files and also converts ESQL statements to UltraLite function calls.
When building UltraLite Embedded SQL or C++ applications in the CodeWarrior environment, the plug-in does not add the access paths to install-dir\h and install-dir\ultralite\palm\68k\lib\cw\ and to the UltraLite libraries ulrt.lib and ulbase.lib. The plug-in only adds the generated files from running the SQL preprocessor to the CodeWarrior project for UltraLite Embedded SQL applications.