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 及 C++ 编程 » 应用程序开发 » 使用嵌入式 SQL 开发应用程序 » 向应用程序添加同步

 

初始化同步参数

同步参数存储在结构中。

结构的成员在初始化时未进行定义。必须调用特定函数将参数设置为它们的初始值。同步参数在 UltraLite 头文件 install-dir\SDK\Include\ulglobal.h 中声明的结构内定义。

 ♦  初始化同步参数(嵌入式 SQL)
  • 调用 ULInitSyncInfo 函数。例如:

    ul_sync_info synch_info;
    ULInitSyncInfo( &synch_info );