DLL Hell - When you register a file, will other programs use the new registration
Posted on 2004-11-09
I am in a position where other programs are stopping my program from working because of common support DLLs not being the same.
I am told that if I put the DLLs/OCXs in my application folder, the program will use those instead of the ones in the windows/system folder. But if an OCX is registered, isn't the reference in the registry always going to point to the support file that is in my application folder? Wouldn't that mean that other applications would be using the OCXs in my application folder instead of the one that other program put into the windows/system folder? And then the minute they reinstall their other program wont it change the registry again? Maybe if the file is in the same folder as the exe, it does not even look at the registry?