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

SQL Anywhere 12.0.0 » UltraLite - C and C++ Programming » Application development » Developing applications using embedded SQL » Adding synchronization to your application


Initializing the synchronization parameters

The synchronization parameters are stored in a structure.

The members of the structure undefined on initialization. You must set your parameters to their initial values with a call to a special function. The synchronization parameters are defined in a structure declared in the UltraLite header file install-dir\SDK\Include\ulglobal.h.

 To initialize the synchronization parameters (embedded SQL)
  • Call the ULInitSyncInfo function. For example:

    ul_sync_info synch_info;
    ULInitSyncInfo( &synch_info );