I\'ve written a service that is to be started automatically. It does some initialization stuff in its OnStart method, including setting up SENS watchers for who logs in.
I have a .Net service that uses SENS to detect when a user logs on or off. I\'m having two problems, though:
I\'m following this article to registering SENS events via COM, but I think I\'m missing something. I\'m calling the SubscribeToEvents method the article says to write, like this: