September 11th, 2012, 01:56 PM
Window won't display from service when run on Windows 7
I am debugging a Windows service that I need to run on Windows 7. The service was developed to display a window when it is running. (Yes, I know that isn't standard operating procedure.) The window displays without any problem when the service is run on older operating systems like XP or Server 2003, but on Windows 7 or Server 2008 it doesn't show up. There's an option whereby I can run the service as an application from the command line, and when I do that, the window displays. But as a service, nada. I've tried adding a call to ShowWindow() in the service, but that didn't fix it. Any ideas what's wrong here? Thank you.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!