How does windows load DLLs
I have an executable which is linked to a DLL library. This DLL is in c:windowssystem32 If I put a second DLL in the same path of the executable, this DLL should be loaded instead of the c:windowssystem32 It is very strange because it works like this for some DLLs and not for other. I tried to copy all dlls of c:windowssystem32 in my executable path and I see with IDA (module window) that some DLLs are loaded in the executable path and others are still loaded in c:windowssystem32 I have scanned all DLLs content, thinking the path was hard coded, but I just see strings with just dll name. So my question is: What is the rule applied by windows in order to choose which dll to load if there is multiple versions (in executable path and in c:windowssystem32) Thanks
链接地址: http://www.djcxy.com/p/44550.html上一篇: 如何在C ++中意外创建临时对象?
下一篇: Windows如何加载DLL