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

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


Initializing the synchronization parameters

The synchronization parameters are stored in a structure.

 Initialize the synchronization parameters (embedded SQL)

The members of the structure are 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 %SQLANY12%\SDK\Include\ulglobal.h.

  • Call the ULInitSyncInfo function. For example:

    ul_sync_info synch_info;
    ULInitSyncInfo( &synch_info );