You may want to include the features of dbmlsync in your application, rather than provide a separate executable to your remote users.
There are three ways to do this:
For more information, see Dbmlsync API.
SQL SYNCHRONIZE statement
For more information, see SYNCHRONIZE statement [MobiLink].
If you are developing in any language that can call a DLL, then you can access dbmlsync through the DBTools interface. If you are programming in C or C++, you can include the dbtools.h header file, located in the SDK\Include subdirectory of your SQL Anywhere 12 directory. This file contains a description of the a_sync_db structure and the DBSynchronizeLog function, which you use to add this functionality to your application. This solution works on all supported platforms, including Windows and Unix.
The Dbmlsync API and the SQL SYNCHRONIZE statement are both easier to use than the DBTools interface and you are strongly encouraged to consider using them first.
For more information, see:
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|