[pypy-issue] Issue #2899: LoadLibrary on win32 does not use LOAD_WITH_ALTERED_SEARCH_PATH (pypy/pypy)

mattip issues-reply at bitbucket.org
Wed Oct 3 15:08:00 EDT 2018


New issue 2899: LoadLibrary on win32 does not use LOAD_WITH_ALTERED_SEARCH_PATH
https://bitbucket.org/pypy/pypy/issues/2899/loadlibrary-on-win32-does-not-use

mattip:

There are at least two problems with `rpython/rlib/rwin32`'s `LoadLibrary`:

- It does not use LOAD_WITH_ALTERED_SEARCH_PATH, which seems to be used everywhere in CPython to ensure dependent DLLs in the same directory are found. Prevents using wheels with additional DLLs, like the gohlke numpy ones, since we also have no standard place to put those DLLs.

- It is mapped to `LoadLibraryA` which precludes using unicode file names




More information about the pypy-issue mailing list