没有注册.dll与regsvr32 - 只在版本构建 [英] Failure to register .dll with regsvr32 - only in Release build

查看:203
本文介绍了没有注册.dll与regsvr32 - 只在版本构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试注册使用regsvr32创建的.dll时,我有一个奇怪的问题。

I'm having a weird problem when trying to register the .dll i created using regsvr32.

在开发过程中,一切顺利,调试版本注册并正常工作。现在我想创建一个版本,但是该版本不再注册。

During development everything went fine, the debug version registers and works fine. Now i wanted to create a Release version, but that Version does not register anymore.

regsvr32出现以下错误:

regsvr32 comes up with the following error:

The module "mpegsplitter.dll" 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 procedure could not be found.

一些研究带给我的依赖性步行者,这告诉我这个

Some research brought me to the dependency walker, which does tell me this

Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.

它还显示了对调试版本没有的crtdll.dll的依赖(The函数视图显示了通常应该在ole32.dll中的soem函数),这是颜色为red'ish。

It also does show a dependency on "crtdll.dll" that the debug version does not have (The function view shows soem functions that normally should be in ole32.dll), which is colored red'ish.

到目前为止这么好,我想它的某些方面与依赖步行者在那里显示。

So far so good, i guess its somehow related to what the dependency walker shows there.

但是我从哪里出发?我该如何解决?
任何帮助将不胜感激,这已经让我忙了几个小时了。

But where do i go from here? How do i fix it? Any help would be greatly appreciated, that has been keeping me busy for several hours already.

谢谢!

推荐答案

我修正了它实际上是由我包含的一些mingw库的顺序与ffmpeg链接引起的。哦,太奇怪了。

I fixed it. It was actually being caused by the order of some mingw libraries i included to link against ffmpeg. Oh well, how weird.

这篇关于没有注册.dll与regsvr32 - 只在版本构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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