Sharing Events created within a Service
-
Is it possible to create an Event within a Service (running under LocalSystem), and then signal that same event from another process (i.e. a normal process)? I tried setting the security descriptor for the event to enable 'all access' to 'everyone', but it doesn't seem to work - GetLastError returns '5: access is denied'. Is it the case that the event object is exclusively reserved for the service?
-
Is it possible to create an Event within a Service (running under LocalSystem), and then signal that same event from another process (i.e. a normal process)? I tried setting the security descriptor for the event to enable 'all access' to 'everyone', but it doesn't seem to work - GetLastError returns '5: access is denied'. Is it the case that the event object is exclusively reserved for the service?
1. Yes, you can. 2. Perhaps you created the security data incorrectly. 3. No - we do this all the time.
-
1. Yes, you can. 2. Perhaps you created the security data incorrectly. 3. No - we do this all the time.
-
Create a named event. then any process can open that event and signal or detect it.