This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients eryksun, jkloth, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-01-25.19:36:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611603402.63.0.187450248116.issue43022@roundup.psfhosted.org>
In-reply-to
Content
I noted that the path to "python3.dll" must be fully qualified. But let me stress that point. You cannot use the relative path "path/to/python3.dll" with LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR. The loader will fail the call as an invalid parameter.

Unlike POSIX, a Windows path that contains slashes may be handled as a relative path in search contexts, if it lacks a drive or leading slash. In the case of LoadLibraryW(L"path/to/python3.dll"), the loader will try to resolve "path/to/python3.dll" against every directory in the DLL search path, which may not even include the current working directory.
History
Date User Action Args
2021-01-25 19:36:42eryksunsetrecipients: + eryksun, paul.moore, tim.golden, jkloth, zach.ware, steve.dower
2021-01-25 19:36:42eryksunsetmessageid: <1611603402.63.0.187450248116.issue43022@roundup.psfhosted.org>
2021-01-25 19:36:42eryksunlinkissue43022 messages
2021-01-25 19:36:42eryksuncreate