[issue43022] Unable to dynamically load functions from python3.dll

Eryk Sun report at bugs.python.org
Mon Jan 25 14:09:40 EST 2021


Eryk Sun <eryksun at gmail.com> added the comment:

> h = LoadLibraryW(L"some/path/to/python3.dll")

You should be using LoadLibraryExW(). It's a one-time call. You do not need to set the default flags via SetDefaultDllDirectories().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43022>
_______________________________________


More information about the Python-bugs-list mailing list