LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
来源:互联网 发布:你的名字剧情分析知乎 编辑:程序博客网 时间:2024/05/22 04:23
用vc++开发的activex空间注册失败,用regsvr32 TestOCX.ocx注册时提示:
LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
用depends察看TestOCX.ocx发现缺少一些文件
从开发机器上拷贝对应的文件到测试机后再次depends时发现又缺少其他文件
这样拷贝文件不是解决问题的方法,因为客户机环境千差万别.
最后想到可以做静态编译
选择Project-> Setting,在打开的对话框中将USE MFC in a share DLL改成USE MFC in a Static Library
重新测试成功.
以上仅是我遇到的情况,可能其他问题也会导致注册失败,需要具体分析找出解决方法
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- The specified module could not be found
- The specified module could not be found
- GetModuleFileName False failed with error 126 (The specified module could not be found)
- OpenCV3.1 + Python2.7 error "DLL load failed: The specified module could not be found"
- IIS出现The specified module could not be found解决方法
- IIS出现The specified module could not be found解决方法
- [转]The specified module could not be found. (Exception from HRESULT: 0x8007007E)
- Web服务器The specified module could not be found错误解决方法
- IIS出现The specified module could not be found的解决方法
- 解决IIS出现The specified module could not be found的方法
- IIS错误解决方法:The specified module could not be found、访问 IIS 元数据库失败
- IIS出现The specified module could not be found错误解决方法!
- monogame Unable to load DLL 'openal32.dll': The specified module could not be found
- ISAPI程序出现“The specified module could not be found”问题解决方法
- IIS不能访问,出现The specified module could not be found问题 解决方法
- IIS出现The specified module could not be found的解决方法
- 详解继承与组合的优缺点
- Android开发之——布局实例
- 给DBExpress增加Firebird连接的方法
- info.plist的选项含义
- struts2 result类型
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- (总结)C++的构造函数(初始化列表,缺省/复制和带默认参数的构造函数)和析构函数详解
- Android组件 文本框(EditText)
- FileZilla Server源码分析(1)
- 让你不再害怕指针(C语言版)纯转
- Ext form中的combobox一旦设hideTrigger:true不但下拉按钮隐藏
- Tomcat- Keystore was tampered with, or password was incorrect
- AspectJ切入点语法详解
- dbus和经典IPC的对比