【发布时间】:2024-01-02 13:27:01
【问题描述】:
当我尝试在我的 Windows 7 系统上启动 VB6 应用程序时,我不断收到错误消息
Component 'crystl32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid
我尝试了很多方法来注册它,比如首先将crpe32.dll 和implode.dll 复制到System32 和syswow64 文件夹中,然后使用regsvr32.exe 进行注册,但这会给我错误消息
The module 'crystl32.ocx' failed to load. Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. THe specified module could not be found.
我可以浏览到C:\Windows\System32 和SysWow64 并查看那里的文件。
最近我安装了Oracle 11g,卸载了Oracle 9g,也玩弄了Environment variables,这是导致问题的原因吗?在此之前,相同的应用程序运行良好,没有任何错误消息。
【问题讨论】:
-
找不到指定的模块。 看起来您仍然缺少 DLL。你有没有通过十六进制编辑器查看它引用的 DLL 列表?
-
如果有帮助,我确实找到了this。
-
您是否尝试在控制台上以管理员权限注册?
-
@Korsakof 是的。得到同样的错误
-
你重启机器了吗?如果没有,你应该。还有你在这个路径“CD C:\Windows\System32”注册了吗?
标签: windows-7 vb6 regsvr32 dllregistration