UltraLite Static C++ User's Guide
Adding Non Data Access Features to UltraLite Applications
Adding synchronization to your application
The details of how to invoke synchronization depends on your target platform and on the synchronization stream.
The synchronization process can only work if the device running the UltraLite application is able to communicate with the synchronization server. For some platforms, this means that the device needs to be physically connected by placing it in its cradle or by attaching it to a server computer using a cable. You need to add error handling code to your application in case the synchronization cannot be carried out.
To invoke synchronization (TCP/IP, HTTP, or HTTPS streams)
Call Connection.InitSynchInfo() to initialize the synchronization parameters, and call Connection.Synchronize() to synchronize. See Synchronize method.
To invoke synchronization (HotSync)
Call ULConnection.InitSynchInfo to initialize the synchronization parameters, and call ULData.PalmExit and ULData.PalmLaunch to manage synchronization.
For more information, 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.