Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Programming » SQL Anywhere database API for C/C++ » SQL Anywhere C API support

 

Dynamic loading of the interface library

The code to dynamically load the DLL is contained in the sacapidll.c source file which is located in the sdk\dbcapi directory of your SQL Anywhere installation. Applications must use the sacapidll.h header file and include the source code in sacapidll.c. You can use the sqlany_initialize_interface method to dynamically load the DLL and look up the entry points. Examples are provided with the SQL Anywhere installation.