Contents Index ULDropDatabase function ULEnableGenericSchema function pdf/preface.pdf

UltraLite User's Guide
  The Embedded SQL Interface
    Library function reference

ULEnableFileDB function


Prototype 

void ULEnableFileDB( SQLCA * sqlca );

Description 

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.

Parameters 

sqlca    A pointer to the SQLCA. This argument is supplied even in C++ API applications.

Examples 

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;
}
See also 

ULEnablePalmRecordDB function


Contents Index ULDropDatabase function ULEnableGenericSchema function pdf/preface.pdf