简体   繁体   中英

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.

It fails with the following error:

The module "(...).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 module could not be found.

  • Already installed SP1 for VS2008 (fixed some lacking dependencies)
  • %windir%/system32/regsvr32 or %windir%/sysWOW64/regsvr32 fails
  • event viewer doesn't show up anything related (namely application error)
  • SxsTrace doesn't catch anything:
    • sxstrace trace -logfile:sxstrace.etl
    • do the regsvr32
    • sxstrace parse -logfile:sxstrace.etl -outfile:sxstrace.txt
    • check 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)

How do I retrieve more information on the error?

Already lost some days on this, going to weeks...!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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