matlab - 无法使用 regsvr32 :The module "*.dll" failed to load 注册 dll

标签 matlab windows-7 matlab-deployment regsvr32 dllregistration

stackoverflow也有类似的问题.但我没有发现答案有帮助。我也用谷歌搜索了网站,我看了herehere . 我已经尝试了他们告诉我的方法来解决这个问题,但没有得到满意的答案。

我的操作系统是 32 位 Window 7Noncircle.dll 是由Matlab 版本2010a 在另一台安装了Matlab 的机器上生成的。我试图在用 C# 编写的项目中添加 Noncircle.dll 作为引用(我没有在我的计算机上安装 Matlab),但是Visual-Studio 2010 告诉我错误:

enter image description here

所以我怀疑 Noncircle.dll 是否需要注册。所以我将 Noncircle.dll 放入 C:\Windows\System32 并以管理员身份启动 Cmd.exe 并键入:

regsvr32 Noncircle.dll

然后我得到一个错误:

"The module "Noncircle.dll" failed to load.Make sure the binary is sorted at the 
 specified  path or debug it to check for problems with the binary or depenedent 
 .DLL files.The specified module coudl not be found."

你能给我一些提示吗,在此先感谢!

更新于 2012/10/18

但是如果我在我的机器上安装了Matlab版本2010a,这个问题就解决了。

最佳答案

我刚遇到同样的问题。

如果您运行的是 64 位 Windows,并且您已将 32 位 DLL 放置在 Windows\System32\中,那么它会给您这个错误。

只需将 DLL 放入 Windows\SysWOW64\并从那里注册。

这是我找到修复的地方:

http://csi-windows.com/blog/all/73-windows-64-bit/378-fixing-qregsvr32-the-module-failed-to-load-the-specified-module-could-not-be-foundq

关于matlab - 无法使用 regsvr32 :The module "*.dll" failed to load 注册 dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8401988/

相关文章:

MATLAB 舍入函数 - 它如何向上或向下舍入 .5?

java - 如果 jar 文件大于特定大小,Applet 无法在 Windows 7 上使用 Java 1.7 加载

matlab - 有没有办法从现有轴上删除单个图?

c++ - 通过 C++ 或 VB.NET 集成 Matlab DLL

windows-7 - 应用程序验证器安装问题

c# - 使用 Matlab 从 C# 控制台应用程序创建图形或绘图?

.net - MCR 和 .NET 不兼容

c# - 编译的 Matlab 函数只工作一次

matlab - 霍夫变换 MATLAB - 自定义实现

vb6 - Windows 7 缺少简称