DBToolsInit(const a_dbtools_info *) method

Prepares the DBTools library for use.

Syntax

_crtn short _entry DBToolsInit(const a_dbtools_info * pdi)

Parameters

Returns

Return code, as listed in Software component exit codes.

Usage

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 used by the functions in the DBTools library.

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