Hi folks,
I am building a self-registration capable dll using msvc. So I included something like
regsvr32 <mydll.dll>
in the post build step. Now, everything's fine as long as I release build the thing. The DLL is created and registered as it should be. Enter Debug build.
When I compile the DLL with debug settings I am getting an error message from regsvr32 saying: "LoadLibrary: the module <mydll.dll> cannot be found". I know that this can be caused by missing dependencies. BUT when I open up a console and manually type:
regsvr32 mydll.dll
everything is fine again.
This really only happens in the debug build, plus, the DLL is fully functional and loadable from a client once it is (manually) registered. So it really cannot be a dependency problem.
Does anyone have a clue as to what is going on here?
Thanks in advance!
I am building a self-registration capable dll using msvc. So I included something like
regsvr32 <mydll.dll>
in the post build step. Now, everything's fine as long as I release build the thing. The DLL is created and registered as it should be. Enter Debug build.
When I compile the DLL with debug settings I am getting an error message from regsvr32 saying: "LoadLibrary: the module <mydll.dll> cannot be found". I know that this can be caused by missing dependencies. BUT when I open up a console and manually type:
regsvr32 mydll.dll
everything is fine again.
This really only happens in the debug build, plus, the DLL is fully functional and loadable from a client once it is (manually) registered. So it really cannot be a dependency problem.
Does anyone have a clue as to what is going on here?
Thanks in advance!