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 messages library. The messages library 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