I wrote a c# service that register to systemevent.Timechange() with function that call OntimeChange() (as mentioned in the MSDN http://msdn.microsoft.com/en-us/library/microsoft.win32.systemevents.aspx) Running this code in visual studio all works fine (In debug or release mode), but when I run the service I saw that the function OntimeChange() isn't called (I added prints to the log in this function, and I saw that nothing printed to the log)
can someone help?