OASQLIP_init
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
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)
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. |