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 mhammond
Recipients eryksun, mhammond, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-01-11.06:19:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452493171.11.0.149632180394.issue26071@psf.upfronthosting.co.za>
In-reply-to
Content
> > 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.
History
Date User Action Args
2016-01-11 06:19:32mhammondsetrecipients: + mhammond, paul.moore, tim.golden, zach.ware, eryksun, steve.dower
2016-01-11 06:19:31mhammondsetmessageid: <1452493171.11.0.149632180394.issue26071@psf.upfronthosting.co.za>
2016-01-11 06:19:31mhammondlinkissue26071 messages
2016-01-11 06:19:30mhammondcreate