You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest that we consider switching to LOAD_LIBRARY_SEARCH_DEFAULT_DIRS | LOAD_LIBRARY_DEFAULT_DIRS when available, and we consider adding a fallback mechanism when using LOAD_WITH_ALTERED_SEARCH_PATH fails to load a library.
Uh oh!
There was an error while loading. Please reload this page.
Using
SetDefaultDllDirectories
irreversibly prevents Julia from loading shared libraries.Julia's
jl_dlopen
is implemented viaLoadLibraryExW(wfilename, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)
.https://github.com/JuliaLang/julia/blob/63830a6f2050e61b7b2aca78e2462487fd3f59d0/src/dlload.c
I suggest that we consider switching to
LOAD_LIBRARY_SEARCH_DEFAULT_DIRS | LOAD_LIBRARY_DEFAULT_DIRS
when available, and we consider adding a fallback mechanism when usingLOAD_WITH_ALTERED_SEARCH_PATH
fails to load a library.See https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibraryexw
Minimum example:
The text was updated successfully, but these errors were encountered: