Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LoadLibraryExW: make sure to only use backslashes for paths
It seems like in case the path passed to it is absolute, but contains forward slashes then LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR does not work and DLLs in the same directory as the extension are not considered. This occurs in our fork because in MSYS2-mode the extension loader will normalize to forward slashes before. Normalize everything to backslashes again before passing it to LoadLibraryExW. Fixes #151
- Loading branch information