高分求教:Error opening DLL library hosClient.dll for external function at line 39 in function of_sys_connect_server of object u_xjyb

nettang 2008-05-27 08:44:03
在PB6下面调用DLL是正常的.但同样的调法到PB9下面就不行.出现错误提示
Error opening DLL library hosClient.dll for external function at line 39 in function of_sys_connect_server of object u_xjyb_jkgl.

在网上找了很多资料,发现比较官方的解释是

1. Error: Error opening DLL library <filename> for external function at line <line_number> in the <event name> event of object <object_name> of <window_name>.

Possible causes:
> DLL is 16 bit and thus incompatible.
> DLL is not in a searchable directory.
> DLL connects to another DLL that cannot be found.
> DLL has the same name as another already loaded into memory.
> DLL is corrupted or in an incompatible format.

我这里其它几个原因基本上不存在.可能的原因就是> DLL is 16 bit and thus incompatible.
如果DLL是16位的话那是不是就没办法调用了?
有什么好的解决办法吗?
...全文
2081 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
real 2012-02-06
  • 打赏
  • 举报
回复
扯淡淡啊。
怎么解决的 啊,有不有知道的啊。
pb求解啊。
Binary Wang 2008-09-18
  • 打赏
  • 举报
回复
楼主的题目好有趣,20分还算高分啊?
Binary Wang 2008-09-18
  • 打赏
  • 举报
回复
偶也遇到了,同一个应用,我的电脑上没问题,而同事的电脑上却出现此问题
msf 2008-06-02
  • 打赏
  • 举报
回复
应该是PB9下没有找到这个DLL文件.
编程夜猫 2008-06-01
  • 打赏
  • 举报
回复
有可能的问题
> DLL is not in a searchable directory.
保证pb9能找到hosClient.dll 的路径。

680

社区成员

发帖
与我相关
我的任务
社区描述
PowerBuilder API 调用
社区管理员
  • API 调用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧