Contents Index DBToolsFini function DBToolsVersion function

ASA Programming Guide
  The Database Tools Interface
    DBTools functions

DBToolsInit function


Function 

Prepares the DBTools library for use.

Prototype 

short DBToolsInit( const a_dbtools_info * dbtools-info );

Parameters 
Parameter Description
dbtools-info Pointer to a_dbtools_info structure
Return value 

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

Usage 

The primary purpose of the DBToolsInit function is to load the Adaptive Server 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.

Example 
See also 

DBToolsFini function

a_dbtools_info structure


Contents Index DBToolsFini function DBToolsVersion function