Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use 32-bit version of ODBC on 64-bit Windows 7?

I'm having problem with ODBC and an application written with Visual Basic 6 (so it's 32-bit). It seems that the ODBC library of VB6 is not compatible with the 64-bit ODBC of Windows 7.

The error code returned is -2147220992 and it's rambling about incompatible architectures.

Can I install a 32-bit version of ODBC? Or any other alternatives?

like image 225
john2x Avatar asked Jul 15 '11 21:07

john2x


1 Answers

use the 32-bit odbc manager to add your DSN:

C:\Windows\SysWOW64\odbcad32.exe

that should be able to see the 32-bit odbc driver.

like image 113
Scott Kramer Avatar answered Sep 21 '22 09:09

Scott Kramer