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

SQL Anywhere 12.0.0 » SQL Anywhere Server - Programming » ODBC support

 

Calling SQLFreeEnv

Note that SQLFreeEnv must not be called directly or indirectly from the Windows DllMain function. The calls that can be made from DllMain are limited, and in particular attempting to communicate with other threads (which SQLFreeEnv may do) can cause the application to hang.