stackoverflow也有类似的问题.但我没有发现答案有帮助。我也用谷歌搜索了网站,我看了here和 here . 我已经尝试了他们告诉我的方法来解决这个问题,但没有得到满意的答案。
我的操作系统是 32 位 Window 7。 Noncircle.dll
是由Matlab
版本2010a
在另一台安装了Matlab
的机器上生成的。我试图在用 C#
编写的项目中添加 Noncircle.dll
作为引用(我没有在我的计算机上安装 Matlab
),但是Visual-Studio 2010
告诉我错误:
所以我怀疑 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\并从那里注册。
这是我找到修复的地方:
关于matlab - 无法使用 regsvr32 :The module "*.dll" failed to load 注册 dll,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8401988/