I have a Delphi application running on a server. This application does some critical work with my database, which is used in other applications and is executed when the user logs into Windows. Everything works fine, but it turns out that the server administrator sometimes reboots the server and does not enter Windows. The server remains in Windows Login and my application does not start.
After a little research, I decided to create a Windows service to run my application before the user logs into Windows. But I have two forms. One form shows the current process that my application is running, and the other shows the .ini file, which is used to configure the first form.
What I need to do is create a service that launches my application before the user logs into Windows and after logging in, shows my forms or opens it, but minimize it to the system tray.
Can I use the Windows Service with this behavior and minimize my forms in the system tray?
source share