PostgreSQL ODBC 驱动程序未显示在控制面板(数据源)中

发布于 2024-07-25 06:28:42 字数 691 浏览 3 评论 0原文

我安装了 psqlODBC ,当我转到控制面板 -> 时, 数据源 (ODBC) 我没有看到安装 Postgres 驱动程序。

我重启了,还是没有。

然后我注意到,如果我从文件 c:\WINDOWS\system32\odbccp32.cpl 启动此控制面板小程序,驱动程序会突然出现!

这种情况发生在 XP 64 位机器上。

我无法真正解释为什么会这样,或者这意味着什么。

从控制面板启动时,rundll32 的命令行为:(

"rundll32.exe" shell32.dll,Control_RunDLL "c:\WINDOWS\system32\odbccp32.cpl",

此数据来自 Process Explorer)

从 odbccp32.cpl 启动时,命令行为:

"C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\ODBCCP32.CPL",@0

有什么想法吗?

I installed psqlODBC and when I go to Control Panel -> Data Sources (ODBC) I don't see the Postgres driver installed.

I rebooted, still nothing.

I then noticed that if I launch this control panel applet from the file c:\WINDOWS\system32\odbccp32.cpl the drivers suddenly appear!

This happens on an XP 64 bit machine.

I can't really explain why this is, or what the implications of this are.

When launching from the Control Panel, rundll32's command line is:

"rundll32.exe" shell32.dll,Control_RunDLL "c:\WINDOWS\system32\odbccp32.cpl",

(this data is from Process Explorer)

When launching from odbccp32.cpl the command line is:

"C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\ODBCCP32.CPL",@0

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

GRAY°灰色天空 2024-08-01 06:28:42

您是否安装了 32 位驱动程序?
该小程序启动 odbc 管理工具 odbcad32.exe 的 64 位版本。 尝试在 %systemdrive%\Windows\SysWoW64\odbcad32.exe 中运行 32 位版本。

注册表重定向让这有点令人头疼,请参阅 http://support.microsoft.com/kb/942976< /a> 了解更多信息。

Did you perhaps install a 32 bit driver?
The applet starts the 64-bit version of the odbc admin tool, odbcad32.exe. Try running the 32-bit version in %systemdrive%\Windows\SysWoW64\odbcad32.exe.

Registry redirection makes this a bit of a headache, see http://support.microsoft.com/kb/942976 for more information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文