DLL load path
Posted on 2011-09-21
I have an issue with the 'correct' DLL being loaded on a target machine(s).
In some of the target machines, different versions of a DLL may have ben registered or placed in multiple/different folders.
I need to specifically be able to load a certain DLL.
I beleive it used to be that the folder from where the app was launched was searched first, but this is no longer the case due to the need to prevent hacks?? Is this the case?
How do I specify a specific DLL to be loaded?
Code examples if you have them, please.