Question

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...!

Was it helpful?

Solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top