How can I get service status notofication in my application?
If I need to monitor a service status, currently a thread in Application should ping it periodically to get current status of serive.
But is there any callback/notification available so that I do not need to ping for status.
not so bad in the idea, but try to not post so much code, fully explaining it. that's not necessary. prefer focus on the idea, the technologies used to release, and things more global like that (with of course code explaination while useful to understand the job).
vote 4 for me
Interesting comment, but I have to disagree. So many times I read negative comments stating that "there was not enough explanation of code" and similar statements. It's hard to decide exactly how much is too much or too little. For the sake of the CP crowd I'd have to say it's safer to err on the "too much" side - not to exagerate however. After all, most of us turn to CP to learn. Some of us are looking for explanations in nauseating detail, others want just the basics. Can't make everyone happy.