Windows services + Desktop + MSMQ

teixeira

Regular
Joined
Apr 5, 2005
Messages
94
Location
LEIRIA-PORTUGAL
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
 
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.
 
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
 
Back
Top