包含.ocx组件的VB6应用程序未在其他计算机上执行 [英] VB6 application containing .ocx component not executing on other machine

查看:93
本文介绍了包含.ocx组件的VB6应用程序未在其他计算机上执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在VB6中有一个项目,该项目具有一个组件(abc.ocx).我已经注册了此ocx,然后在我的项目中使用了它.我编译了项目,它的exe在我的机器上运行得很好.但它不会在其他计算机上执行.它报告错误无法加载ocx".尽管我已经将此ocx注册为该机械师.那么如何解决这个问题呢?我希望我的exe在其他计算机上执行.

谢谢.

Hi,

I have a project in VB6, which has a component (abc.ocx). I''ve registed this ocx and then use it in my project. I compiled the project, it''s exe runs very well in my machine; but it does not execute in other machine. It reports error that "Could not load ocx"; although I''ve registed this ocx into that mechanic. So how to solve this problem? I want my exe to execute on other machine.

Thanks.

推荐答案

您的OCX文件可能需要其他一些.DLL才能起作用.这些.DLL在另一台计算机上不存在,因此OCX无法正常工作.使用 ^ ]找出您的OCX正在使用哪些.DLL,但无法在目标计算机上找到.
Your OCX file probably requires some other .DLLs in order to work. Those .DLLs don''t exist on the other machine, so the OCX won''t work. Use Dependancy Walker[^] to find out what .DLLs your OCX is using, but cannot find on the target machine.


这篇关于包含.ocx组件的VB6应用程序未在其他计算机上执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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