The service works perfectly fine in that it can be installed as a service without any problems.
My application requires to perform actions on specific Windows events such as a user logging of, however when the service is running and I log out of the application the event is not received by the service.
I know that application works and that it receives some events because when I run it in the command line and ctrl-c it, it gets the event 200.
Why is the application not receiving the Windows events?
(I log the activity of the events so can see what it picks up).