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

Eryk Sun report at bugs.python.org
Mon Jan 25 14:07:43 EST 2021


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

> So I need to dynamically load *both* python3.dll and python39.dll, 
> but if I do that I can get the functions from python3.dll? 

No, just load the fully-qualified name of "python3.dll", with the loader flags LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR | LOAD_LIBRARY_SEARCH_DEFAULT_DIRS -- or LOAD_WITH_ALTERED_SEARCH_PATH.

----------

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


More information about the Python-bugs-list mailing list