ODBC 64 crash

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ODBC 64 crash

Laurs Laursen-2

I have been working some years with Firebird 1.5 with ODBC 1.2

I am now trying to convert databases to v 2.5 x64 with Firebird_ODBC_2.0.1.152_x64 and
succeded to recreate at 2.5 database with gbak
(and I can see all data in the database with DBexplorer (old Borland 5)).

My software is 32 bit Visual Studio C++ 2008 and I am testing it under
Windows 7 x64.

It was all working in win7x64 with Firebird 1.5 with ODBC 1.2 under win 7x64.
I deinstalled all Firebird and ODBC and installed the 64 bit versions.
After that:
I can connect to the database with ODBC, I can open tables, but when I read
from them, the program crashes somewhere in the code in free(); when I frees
the data pointers after reading data.
The data pointers used are for Bind / Fetch like:
pdata11 = (SQLPOINTER)malloc(__iintmaxdatalen+2);
ret = SQLBindCol(odbchnd_->StmtHandle,
                 (SQLPOINTER) pdata11,
                 & pcbValue11
Its different for different tables when it crashes, but I get errors from HeapFree.
The ODBC software I use is an old example from MS (maybee MS visual 6), but it
compiles and loads all the jdbc/odbc drivers at start.
Any ideas/help are appreciated.
Best Regards
Laurs Laursen
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
Firebird-odbc-devel mailing list
[hidden email]