What's New in SQL Anywhere Studio
Upgrading Version 5 Applications
Using the compatibility library
The compatibility library and the Version 5 interface library have the same file name (dbl50.dll). For your application to use the compatibility library, it must locate it ahead of the Version 5 interface library when it searches for DLLs.
To ensure that your application locates the compatibility library ahead of the Version 5 interface library you must understand how your application searches for DLLs.
The Version 9 installation program does not necessarily place the Version 9 executable directory ahead of the Version 5 directory in the system path, so any application that uses the path to searching for dbl50.dll may have to be changed to find the compatibility library ahead of the Version 5 interface library.
The Version 5 ODBC driver is in the same directory as the Version 5 interface library, and so locates this library instead of the Version 9 library. To enable Version 5 ODBC applications to connect to Version 9 database servers, you can either rename the Version 5 interface library, or copy the Version 9 compatibility library along with dbl50to.dll into your Version 5 directory.
You can test to see which library is located in the following ways:
Attempt to connect to a Version 9 database server. You cannot connect using the Version 5 interface library.
Specify a database file parameter (DBF) and no start line in your connection string. If the Version 5 interface library is located, the SQL Anywhere Version 5 standalone database engine is started. If the compatibility library is located, the Version 9.0 personal database server is started.