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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » Database Tools Interface » DBTools functions

DBToolsFini function Next Page

DBToolsInit function


Prepares the DBTools library for use.

Prototype

short DBToolsInit( const a_dbtools_info * );

Parameters

A pointer to a structure. See a_dbtools_info structure.

Return value

A return code, as listed in Software component exit codes.

Remarks

The primary purpose of the DBToolsInit function is to load the SQL Anywhere language DLL. The language DLL contains localized versions of error messages and prompts that DBTools uses internally.

The DBToolsInit function must be called at the start of any application that uses the DBTools interface, before any other DBTools functions. For an example, see A DBTools example.

See also