UltraLite User's Guide
Developing Applications for the Palm Computing Platform
Launching and closing UltraLite applications
Whenever your UltraLite application is launched, your code must call the function to restore state.
For embedded SQL development, this function is ULPalmLaunch. For C++ API development, this function is the ULData.PalmLaunch() method.
If your application has never been run before, or was abnormally terminated the last time it was run, the function returns a value of LAUNCH_SUCCESS_FIRST. In this case, you must initialize the UltraLite data store. Otherwise, you must not initialize the data store.
For more information, see ULPalmLaunch function, and PalmLaunch method.