UltraLite User's Guide
Developing UltraLite Applications
Adding synchronization to your application
The details of how to invoke synchronization depends on your target platform and programming language, and also on the particular synchronization stream.
To invoke synchronization (TCP/IP, HTTP, or HTTPS streams)
When using embedded SQL, call ULInitSynchInfo to initialize the synchronization parameters, and call ULSynchronize to synchronize.
or When using the C++ API, use the Connection.InitSynchInfo() method to initialize the synchronization parameters, and Connection.Synchronize() method to synchronize. See Synchronize method.
or When using Java, construct a new ULSynchInfo object to initialize the synchronization parameters, and use the JdbcConnection.synchronize() method to synchronize. See Adding synchronization to your application.
To invoke synchronization (HotSync)
In embedded SQL, use ULInitSynchInfo to initialize the synchronization parameters, and call ULPalmExit and ULPalmLaunch functions to manage synchronization.
or In the C++ API, use the ULConnection.InitSynchInfo to initialize the synchronization parameters, and call ULData.PalmExit and ULData.PalmLaunch functions to manage synchronization.
For more information on the embedded SQL functions, see ULPalmExit function, and ULPalmLaunch function. For more information on the C++ API methods, see PalmExit method, and PalmLaunch method.
The synchronization call requires a structure that holds a set of parameters describing the specifics of the synchronization. The particular parameters used depend on the stream.