在64位Windows 7上使用ODBC的32位版本? [英] Use 32-bit version of ODBC on 64-bit Windows 7?

查看:137
本文介绍了在64位Windows 7上使用ODBC的32位版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用ODBC和使用Visual Basic 6编写的应用程序时遇到了问题(因此它是32位的).似乎VB6的ODBC库与Windows 7的64位ODBC不兼容.

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.

返回的错误代码为-2147220992,它在关于不兼容的体系结构方面四处游荡.

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

我可以安装32位版本的ODBC吗?或其他替代方法?

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

推荐答案

使用32位odbc管理器添加您的DSN:

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

C:\ Windows \ SysWOW64 \ odbcad32.exe

C:\Windows\SysWOW64\odbcad32.exe

应该能够看到32位odbc驱动程序.

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

这篇关于在64位Windows 7上使用ODBC的32位版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆