Mega Code Archive

 
Categories / Delphi / ADO Database
 

Sybase dblib, access violation in kernel32 dll

Question: My application is crashing in KERNEL32.DLL when a connection is attempted using the SQL Links DBLIB driver (SQLSYB32.DLL) and the Sybase 11.1 Win95/NT client. Why is this happening? Answer: This problem has been addressed in BDE/SQL Links v4.01 and above. (Please check Delphi, C Builder, and Visual dBASE Client Server product release info for more information on new versions of the BDE and SQL Links) DBLIB and CTLIB connection types to Sybase servers through Borland SQL Links are determined by the Sybase driver DLL32 param (either SQLSYB32.DLL or SQLSSC32.DLL) SQLSYB32.DLL (DBLIB) - loads Sybase LIBSYBDB.DLL SQLSSC32.DLL (CTLIB) - loads Sybase LIBCT.DLL Tested using: Sybase 11.1 LIBSYBDB.DLL dated 9/4/96 If the 11.1 LIBSYBDB.DLL is replaced with a Sybase 10 LIBSYBDB.DLL (dated 8/2/95) then the connection is OK.