简体   繁体   English

COM dll x64调试上的regsvr32失败,无法获取有关此信息的详细信息

[英]regsvr32 on COM dll x64 debug fails and can't get details on this

I have a COM dll output from my VS project that works ok for 32 bit release&debug, works ok for 64 bit release, but fails to register for 64 bit debug. 我的VS项目有一个COM dll输出,对于32位发布和调试可以正常运行,对于64位发布可以正常运行,但无法注册64位调试。

It fails with the following error: 失败并显示以下错误:

The module "(...).dll" failed to load. 模块“(...)。dll”无法加载。

Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files. 确保二进制文件存储在指定的路径或对其进行调试,以检查二进制文件或相关的.DLL文件是否存在问题。

The specified module could not be found. 指定的模块无法找到。

  • Already installed SP1 for VS2008 (fixed some lacking dependencies) 已为VS2008安装SP1(已修复一些缺少的依赖项)
  • %windir%/system32/regsvr32 or %windir%/sysWOW64/regsvr32 fails %windir%/ system32 / regsvr32或%windir%/ sysWOW64 / regsvr32失败
  • event viewer doesn't show up anything related (namely application error) 事件查看器未显示任何相关内容(即应用程序错误)
  • SxsTrace doesn't catch anything: SxsTrace没有捕获任何内容:
    • sxstrace trace -logfile:sxstrace.etl sxstrace跟踪-logfile:sxstrace.etl
    • do the regsvr32 做regsvr32
    • sxstrace parse -logfile:sxstrace.etl -outfile:sxstrace.txt sxstrace解析-logfile:sxstrace.etl -outfile:sxstrace.txt
    • check sxstrace.txt 检查sxstrace.txt
  • dependency walker doesn't show any missing dependency (the missing ones are exactly the same to the release dll) AND there is no difference between the 64bit-release and the 64bit-debug dependencies (unless some debug dependencies instead of the release ones) 依赖项遍历程序不会显示任何丢失的依赖项(丢失的依赖项与发行版dll完全相同),并且64位发行版和64bit-debug依赖项之间没有区别(除非有些调试依赖项而不是发行版)

How do I retrieve more information on the error? 如何检索有关该错误的更多信息?

Already lost some days on this, going to weeks...! 在此上已经损失了几天,要花费数周的时间……!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM