Creating a Windows Service to open a program- Delphi
问题 I'm creating a Windows Service with Delphi. What my service needs to do is basically open a program. In my code I'm using WinExec(aux,SW_SHOWNORMAL); . When I start and run the service nothing appears to be done, but when I look in TaskManager the program that my service should open is in the list and in the Username Column appears SYSTEM. So the program is opening but it doesn't show in the screen. I did a research in Google and found some functions like CreateProcess but I don't know how to