Chris Morgan wrote:
I have already sent links to documents on MSDN that state how to make a service run on an interactive desktop. As some of the tests are a little distracting graphically, we should probably do the dialog as you suggest. I guess this is really up to the people running the test machines. If the source to winrash was in the Wine tree I would already have fixed it by now.
The source has been available on Sourceforge since the project started. Patches welcome :-)
Ah, ok. I've never seen a link to the project. Here's a patch that should fix the creating of a service so that it appears on an interactive window station.
Rob
--- winrash.c~ 2005-03-25 03:09:39.000000000 -0600 +++ winrash.c 2005-03-25 03:11:12.285319362 -0600 @@ -1431,7 +1431,7 @@ "Winrash", // pointer to name of service to start "Winrash", // pointer to display name STANDARD_RIGHTS_REQUIRED, // type of access to service - SERVICE_WIN32_OWN_PROCESS, // type of service + SERVICE_WIN32_OWN_PROCESS | SERVICE_INTERACTIVE_PROCESS, // type of service SERVICE_AUTO_START, // when to start service SERVICE_ERROR_NORMAL, // severity if service fails to start argv[2], // pointer to name of binary file