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

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

问题描述

我在使用 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:WindowsSysWOW64odbcad32.exe

C:WindowsSysWOW64odbcad32.exe

应该可以看到 32 位 odbc 驱动程序.

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

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

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