When I try to load a .dll then the application first try to load the .dll from their local folder, if it is not there they try to load it using the %PATH%
environment variable.
I don't mind if the OS is doing any other searches, but I am interested in the order of the search in the %PATH%
environment variable.
Now, let's assume I have two versions of theis dll, and both pathes of those dlls are in the %PATH%
environment variable.
Am I guaranteed that the first path that is containing the .dll in the %PATH%
environment variable, is the path which the .dll will be loaded from?
10x.