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

On Windows, load DLLs with LoadLibraryEx instead of LoadLibrary #378

ochafik opened this Issue Feb 22, 2013 · 0 comments


None yet
1 participant

ochafik commented Feb 22, 2013

dyncall uses LoadLibrary, which does not support injection of a search path for dependent libraries.

JNA uses LoadLibraryEx with the LOAD_WITH_ALTERED_SEARCH_PATH option (see MSDN).

Workaround is to load the dependencies first or to declare them with @Library("MyLib", dependencies = { "MyDep1", "MyDep2" ... })

(issue reported in this discussion on the mailing-list)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment