On Wed Sep 21 04:38:18 2022 +0000, **** wrote:
Zebediah Figura replied on the mailing list:
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?
the program doesn't actually call LoadLibrary, instead it was linked with cng.sys