vb6 - VB6:在 Windows Server 2019 64 位上找不到 gpib-32.dll
问题描述
我有一个 VB6 应用程序,它使用带有 gpib-32.dll 的 NI4882 api (VBIB32) 并且在所有部署的 PC(windows server 2003 32 位)中运行良好。
然而,最近我们有一台新电脑(windows server 2019 64 位),即使我检查了 dll 在 C:\Windows\SysWOW64 中,应用程序也找不到 gpib-32.dll。当应用程序从 dll 调用函数时,提示“找不到文件:gpib-32.dll”错误。
我不确定这是 64 位上的 dll 兼容性问题,还是我错过了什么?
编辑:
这是一些 DLL 入口函数声明:
' NI-488.2 DLL entry function declarations
Declare Function ibask32 Lib "gpib-32.dll" Alias "ibask" (ByVal ud As Long, ByVal opt As Long, value As Long) As Long
Declare Function ibbna32 Lib "gpib-32.dll" Alias "ibbnaA" (ByVal ud As Long, sstr As Any) As Long
Declare Function ibcac32 Lib "gpib-32.dll" Alias "ibcac" (ByVal ud As Long, ByVal v As Long) As Long
' the rest .....
解决方案
推荐阅读
- c# - 使用 NServiceBus 进行持久性的正确用法是什么?
- excel - CSV 保存文件中的字符
- cplex - Getting the number of branch and bound nodes explored CPLEX
- javascript - Verdaccio crash with Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
- sql-server - 存储过程中的自动递增变量
- jenkins - 在 Jenkinsfile 中标记脚本块
- visual-studio - VS 2019 Controller IAction Add View 脚手架停止工作
- asp.net - ASP.NET JavaScriptSerializer 反序列化不返回结果
- action - 多调度或嵌套调度
- asp.net - Asp.Net MVC 5 垃圾邮件检测库