UltraLite User's Guide
The Embedded SQL Interface
Library function reference
void ULEnableFileDB( SQLCA * sqlca );
Use a file-based data store on a device operating the Palm Computing Platform version 4.0 or later. To use the file-based data store on a Palm expansion card, an UltraLite application must call ULEnableFileDB to load the persistent storage file-I/O modules before calling ULPalmLaunch.
This function can be used by C++ API applications as well as embedded SQL applications.
sqlca A pointer to the SQLCA. This argument is supplied even in C++ API applications.
The following code sample illustrates the use of the ULEnableFileDB function, which is called before ULPalmLaunch.
ULEnableFileDB( &sqlca ); switch( ULPalmLaunch( &sqlca, &sync_info ) ( { case LAUNCH_SUCCESS_FIRST: // do init break; case LAUNCH_SUCCESS: // do something break; case LAUNCH_FAIL: // handle error break; }