Jump to content
Luca Pretti

Using Python4Delphi library in a Windows service

Recommended Posts

I am trying to implement a Windows service to run some Python scripts in background. Is that possible ?

As soon as I try to create a TPythonEngine instance with AutoLoad set to true the service hangs. 

If I create an instance with AutoLoad set to False the service starts correctly but as soon I try to call LoadDll the service hangs.

Any help will be greatly appreciated.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×