UltraLite Static C++ User's Guide
Developing UltraLite Applications for the Palm Computing Platform
Maintaining state in UltraLite applications
Whenever your UltraLite application is launched, your code must call ULData.PalmLaunch() to restore state.
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 PalmLaunch method.