I have a DOS program that does some file processing and also writes to a logfile that is currently running as a service. The problem I have is that a blank minimized DOS window shows up in the taskbar, and the client can terminate the program by closing this window.
Is there a way to make it so that the program either does not appear in the taskbar or can't be closed just by clicking the X in the top right corner? Also, what signal is sent to a program when the X is clicked?
Thanks for your help,