Contents Index ULEnableGenericSchema function ULEnableStrongEncryption function pdf/preface.pdf

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

ULEnablePalmRecordDB function


Prototype 

void ULEnablePalmRecordDB( SQLCA * sqlca );

Description 

Use a standard record-based data store on a device operating the Palm Computing Platform. You must call ULEnablePalmRecordDB or ULEnableFileDB 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 ULEnablePalmRecordDB function, which is called before ULPalmLaunch.

ULEnablePalmRecordDB( &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 

ULEnableFileDB function


Contents Index ULEnableGenericSchema function ULEnableStrongEncryption function pdf/preface.pdf