Re: [PATCH v2 0/1] MR842: ntdll: add system32/drivers to dll search path
On Mon Sep 19 20:51:28 2022 +0000, Alexandre Julliard wrote:
This should be handled already by LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR. If that doesn't work in your case you'll need to investigate why, but we can't change the global search path for this. as far as I can tell LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR is for LoadLibrary not the private search_dll_file function in loader.c (which is where the problem originates from)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/842#note_8876
On 9/19/22 15:51, Etaash Mathamsetty (@etaash.mathamsetty) wrote:
On Mon Sep 19 20:51:28 2022 +0000, Alexandre Julliard wrote:
This should be handled already by LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR. If that doesn't work in your case you'll need to investigate why, but we can't change the global search path for this. as far as I can tell LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR is for LoadLibrary not the private search_dll_file function in loader.c (which is where the problem originates from)
search_dll_file() is called by LoadLibrary() under normal circumstances. What call stack are you seeing that's not covered by this case?
participants (2)
-
Etaash Mathamsetty (@etaash.mathamsetty) -
Zebediah Figura