Can I set up event dispatching within a console app? If so how?
I have third party API which seems to depends internally on Windows event dispatching. So it does not work in a console app or wi开发者_开发百科ndows service.
Can I set up event dispatching within a console app or windows-service? If so, how?
have a look at Application.Run()
... but i can't tell you if this works with services ...
精彩评论