Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - C and C++ Programming » Application Development » Developing applications using Embedded SQL » Adding synchronization to your application

 

Invoking synchronization

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 Mobilink 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 the appropriate cable. You need to add error handling code to your application in case the synchronization cannot be carried out.

♦  To invoke synchronization (TCP/IP, TLS, HTTP, or HTTPS streams)
♦  To invoke synchronization (HotSync)

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.