Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork320
Loading and Unloading Python DLLs#434
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I am writing a python script manager that needs to load/unload different python DLLs and virtual environments. Doing a simple thing like PythonEngine.LoadDLL, UnloadDLL and then again LoadDLL gives me the "'There is already one instance of TPythonEngine running". The only way I can get this to work is to add the "gPythonEngine := nil" line below into the following procuedure:
IS this a bug or am I going about the process incorrectly? Thanks |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
See Demo34,#287 andhttps://en.delphipraxis.net/topic/7721-if-i-changed-the-p4d-dllpath-how-to-reload-dlls |
BetaWas this translation helpful?Give feedback.