By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,735 Members | 1,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,735 IT Pros & Developers. It's quick & easy.

Windows Service Custom Events

P: n/a
Is it possible to write custom events for a Windows Service and handle
this events into another application (not service)?? If yes, HOW is it
possible.

Thanks for help.

Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
events generally do not pass outside of the application boundary. you
can pinvoke the SendMessage types of API functions...

This, however, may not be the best solution. There is probably a
better way... What is the exact scenario?

Nov 21 '05 #2

P: n/a
The scenario is:
The Windows Service checks for some data. When it find some data it
must pass the number to a windows application resident in the system
tray. The windows application must receive this number.

Thanks.

stand__sure ha scritto:
events generally do not pass outside of the application boundary. you
can pinvoke the SendMessage types of API functions...

This, however, may not be the best solution. There is probably a
better way... What is the exact scenario?


Nov 21 '05 #3

P: n/a
One More Note: The Windows Service Runs as "LocalSystem", the
application in User Mode!

Thanks Again

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.