Hi Jactry,
On 11/28/18 3:17 PM, Jactry Zeng wrote:
Some applications call SetDefaultDllDirectories(0xc00)
which will override
directory of xul and let xul can't find its dependence. So let's add
xul's path by AddDllDirectory() before calling LoadLibraryEx().
Looking at all those "new" LoadLibrary flags, I wonder if we could just
use LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR instead. Does using
LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR instead of
LOAD_WITH_ALTERED_SEARCH_PATH solve your problem?
Thanks,
Jacek