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

SQL Anywhere 12.0.0 » SQL Anywhere Server - Programming » Database tools interface (DBTools) » Using the database tools interface


Version numbers and compatibility

Each structure has a member that indicates the version number. You should use this version member to hold the version of the DBTools library that your application was developed against. The current version of the DBTools library is defined when you include the dbtools.h header file.

 To assign the current version number to a structure
  • Assign the version constant to the version member of the structure before calling the DBTools function. The following line assigns the current version to a backup structure:

    backup_info.version = DB_TOOLS_VERSION_NUMBER;