skip to main content
IP API Reference for C/C++ : IP API for C/C++ : OASQLIP_init
 

OASQLIP_init

This function performs any initialization that is needed for accessing your data source. This function is called when either the OpenAccess SDK Server starts up in a client/server configuration or when the OpenAccess SDK ODBC DLL is loaded in a local configuration.
int OASQLIP_init(
TM_ModuleCB tmHandle,
OAWCHAR * poasql_ini)
 
Table 37: Parameters for OASQLIP_init 
Parameter
Type
Description
INPUT
 
 
tmHandle
TM_ModuleCB
Trace module handle to use when calling tm_trace.
poasql_ini
OAWCHAR *
The full file name of the OpenAccess SDK configuration file. The default name is oasql.ini.
RETURN
 
 
 
int
OADS_SUCCESS –initialized
OADS_ERROR – error occurred during initialization.
OADS_NOT_AVAILABLE – use to indicate that the driver linked in is a dummy driver.

See also 

tm_trace