teixeira Posted May 30, 2007 Posted May 30, 2007 Hi, I need to write a windows service to run on windows 2003 server and I'm thinking in create the service and when the user logs in the computer at the startup folder I'll launch an UI application that interacts with the service using the MSMQ for have its status. Is this a good idea? does anyone have a better suggestion? one thing, a service that runs in windows xp with "interact with desktop" option checked doesn't behave in the same way in windows 2003 server, that's the reason i found MSMQ a possible way to do the communication between service and desktop. Thannks, Tiago Teixeira Quote
Administrators PlausiblyDamp Posted May 30, 2007 Administrators Posted May 30, 2007 MSMQ seems overkill if you just want to allow a simple windows app to communicate with a running service, normally you would have the service listen on an IP socket and your windows app would communicate via this. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
teixeira Posted June 11, 2007 Author Posted June 11, 2007 Thanks for post. I never had in mind that i could make thi stuff using TCPIP socket comm to interchange information among service and windows app. I'll implement that. Best regards, Tiago Teixeira Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.