Contents Index Adding initial data to your application Handling synchronization status information

UltraLite Embedded SQL User's Guide
  Adding Non Data Access Features to UltraLite Applications
    Adding synchronization to your application

Monitoring and canceling synchronization


This section describes how to monitor and cancel synchronization from UltraLite applications.

Monitoring synchronization 

The following code shows how this sequence of tasks can be implemented in an embedded SQL application:

ULInitSynchInfo( &info );
info.user_name = m_EmpIDStr;
...
//The info parameter of ULSynchronization() contains
// a pointer to the observer function
info.observer = ObserverFunc;
ULSynchronize( &sqlca, &info );

Handling synchronization status information

Contents Index Adding initial data to your application Handling synchronization status information