I want to know the sequence that an application locates its required dlls. I'm looking for more than just the DLL Search Order which is described in I want to know for the following scenarios:
1. If a dll required by an app is already loaded by another app, what will happen? Does the app use the loaded dll or will locate the required dll based on DLL Search Order?
2. If dll/com redirection is used for an app, what will happen?
3. Does it make a difference for scenario #1 and #2 if the dll is a non-registered dll or registered dll?
4. Does it make a difference for scenario #1, #2, and #3 for the following OS: Windows 98 SE, Windows NT4, Windows 2000, Windows XP, Windows 2003?
Note: I will not use .manifest and .NET technology so those technology can be ignored. Also, I'm not the author of the required dlls. The required dlls are MS dlls and other vendor's dlls such as Crystal Reports.
Thank you for any help.
1. If a dll required by an app is already loaded by another app, what will happen? Does the app use the loaded dll or will locate the required dll based on DLL Search Order?
2. If dll/com redirection is used for an app, what will happen?
3. Does it make a difference for scenario #1 and #2 if the dll is a non-registered dll or registered dll?
4. Does it make a difference for scenario #1, #2, and #3 for the following OS: Windows 98 SE, Windows NT4, Windows 2000, Windows XP, Windows 2003?
Note: I will not use .manifest and .NET technology so those technology can be ignored. Also, I'm not the author of the required dlls. The required dlls are MS dlls and other vendor's dlls such as Crystal Reports.
Thank you for any help.