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

Set DependentLoadFlags on shared windows binaries #76

Merged
merged 3 commits into from
May 27, 2024

Conversation

ThadHouse
Copy link
Member

DependentLoadFlags is something added in Windows 10 RS1 that allows modules to specify how they load their dll dependencies. By default, the application path, system32, and some other paths are searched. However, for our use this is kind of a pain, as when we extract libraries, they're not in the same path as the executable.

This PR adds the LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR flag, which lets us specify to load from our own dll directory first.

@ThadHouse ThadHouse merged commit 77f2341 into wpilibsuite:main May 27, 2024
14 of 15 checks passed
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

Successfully merging this pull request may close these issues.

1 participant