Delphi Windows Service

Delphi Windows Service 3,9/5 9707 votes

The procedure to stop a service is similar to starting a service, except for calling 'ControlService()' Win32 function instead of 'StartService()', checking for SERVICE_STOPPED rather than SERVICE_RUNNING and using appropriate control codes. Creating a Windows Service in Delphi (Page 1 of 5 ). A service is an application type that runs in the background, and is similar to UNIX daemon applications. Jun 5, 2001 - An NT service application is a 32-bit Windows application that can run without requiring a user to be logged on. In fact, NT service applications.

Hello, I am using Delphi 6. I have created a service application whose main function is to check whether another delphi windows application is actually running. If this is not running it send a warning e-mail. It also checks whether this other application is running correctly by checking a file which is created by this application. This is working fine but once a day I am finding the following error in the windows (2000) event viewer.

Windows Xp Service Pack 3

Delphi windows service timer

Windows Surface

'Service failed on execute: System Error. The parameter is incorrect.' The service is not accessing network resources and not connecting to exchange servers. It does not interact with the desktop and runs using the local system account. In the properties of the service the serviceStartName is the domain username (where the username is the administrator), whilst the password is the administrators password. It may be that this is the cause of the problem but I do not know why the error is not being raised each time the service is executed.