Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SetDllDirectoryW AddDllDirectory on Windows? #51

Open
mkitti opened this issue Nov 4, 2022 · 2 comments
Open

Use SetDllDirectoryW AddDllDirectory on Windows? #51

mkitti opened this issue Nov 4, 2022 · 2 comments

Comments

@mkitti
Copy link

mkitti commented Nov 4, 2022

Would it be possible to use SetDllDirectoryW or AddDllDirectory on Windows so that Windows searches the LIBPATH_list for DLLs dynamically loaded by DLLs loaded by Julia?

https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-adddlldirectory
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setdlldirectoryw

@mkitti
Copy link
Author

mkitti commented Nov 4, 2022

xref: jheinen/GR.jl#489

@mkitti mkitti changed the title Use SetDllDirectoryW on Windows? Use SetDllDirectoryW AddDllDirectory on Windows? Nov 4, 2022
@topolarity
Copy link
Contributor

Out of curiosity, how do JLL's support any internal LoadLibrary calls they might do right now?

Are they forced to add the JLL libdir to the PATH somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants