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.