Mark Hammond added the comment: > > The directory of the DLL can be added to the search path if you > > use LoadLibraryEx with the flag LOAD_WITH_ALTERED_SEARCH_PATH and use an > > absolute path.
> That sounds like the better fix then. I thought there was something along > those lines available. That does work. I didn't do it that way initially as I felt your earlier comment: > Setting the working directory is likely to lead to a more reliable initial > state. Was an additional nice outcome of just changing the cwd. This patch does the LoadLibraryEx() and works (but obviously leaves the CWD being the downloaded directory, probably %temp%) I'll check this in once I get the green-light, thanks. ---------- Added file: http://bugs.python.org/file41575/bdist.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26071> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com