When I use "regsvr32 foo.dll" i get a "The specified module cannot be
found" error.
The error is being caused because regsvr32 cannot find
the file even though it is the current folder.
I have specified the full path, and it still doen't work. Any ideas????
Best Answer
This can happen if
foo.dll
has a depenency onbar.dll
and it's actuallybar.dll
that can't be found.Try using
depends.exe
from MSVC to check the dependencies offoo.dll
and see if any are missing.Another option is to download and run FileMon. Then run
regsvr32
again and see which file/module it fails to find. This should definitely track it down.