Home > Back-end >  LoadLibrary DLL loaded by its what?
LoadLibrary DLL loaded by its what?

Time:04-18

According to the name?
1 loaded a. d. ll, if the program at this time also need to load a program 2 a. d. ll, but two DLLS are completely different, then the LoadLibrary will think this is two of the same DLL directly before the DLL mapping, will identify the two different DLL and reload?

CodePudding user response:

According to the module name!

CodePudding user response:

Local variables with the same name in two functions that can tell, the two folder name have what do not know? And in monitoring and system?

CodePudding user response:

The
refer to the original poster six Payne reply:
is by name?
1 loaded a. d. ll, if the program at this time also need to load a program 2 a. d. ll, but two DLLS are completely different, then the LoadLibrary will think this is two of the same DLL directly before the DLL mapping, will identify the two different DLL and reload?

This involves the DLL search path problem, more complex, please refer to the
https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order
  • Related