I have a tcl program running in Dos. I’m using a piece of software called FireDaemon which allows you to run any dos/Windows app as a service. Problem is that even though I’m running the service as a different user, as soon as I log myself off, the tcl app closes. FireDaemon restarts it ok but the shutdown is not clean and this may result in lost data.
I’m told that when you logoff Windows WM_CLOSE and WM_ENDSESSION messages are sent to all top level windows. So it looks like this is closing my tcl app. Is there an application switch in tcl to ignore these messages?
I’m told that when you logoff Windows WM_CLOSE and WM_ENDSESSION messages are sent to all top level windows. So it looks like this is closing my tcl app. Is there an application switch in tcl to ignore these messages?