Archive: RegDLL question.


RegDLL question.
Hello-

This is a simple question, but I've search the forum and can't find a direct answer.

I have the MSVC++ runtimes MSVCR71.dll and MSVCP71.dll installed with my software in the same directory as the executable and the executable runs fine. I do not register the two DLLs with RegDLL.

I am now installing another executable in another directory and don't want to place the DLLs there, as well. Am I supposed to register the DLLs? Is that what allows them to be used from directories outside the executable directory?

Searching MSDN, I'm still unclear as to what registering DLLs does.

Cheers,
Jake


Search for LoadLibrary in MSDN. In the notes section, the search order for DLLs is described.