Skip to content

Popen executable fails to find dll, need help to wrap it in SetDllDirectory calls #8125

Answered by rokm
ericoporto asked this question in Help
Discussion options

You must be logged in to vote

I can't even figure it out how to get the extraction path

It is stored in sys._MEIPASS.

If your application does not have any delayed module imports, you could probably also just call SetDllDirectory(NULL) once, after importing all the modules that your application uses (i.e., you might get away withotu restoring it back).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ericoporto
Comment options

@ericoporto
Comment options

Answer selected by ericoporto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants