Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Initializes the SQLAnywhereInterface object and loads the DLL dynamically.
int sqlany_initialize_interface ( SQLAnywhereInterface * api, const char * optional_path_to_dll )
api The name of the API structure to initialize.
optional_path_to_dll Optional argument that specifies a path to a DLL API.
This function attempts to load the SQL Anywhere C API DLL dynamically and looks up all the entry points of the DLL. The fields in the SQLAnywhereInterface structure are populated to point to the corresponding functions in the DLL. If the optional path argument is NULL, the environment variable SQLANY_DLL_PATH is checked. If the variable is set, the library attempts to load the DLL specified by the environment variable. If that fails, the interface attempts to load the DLL directly (this relies on the environment being setup correctly).
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|