-
Martin Hurton authored
The CreateEvent function requests EVENT_ALL_ACCESS access rights when the event object already exists. This causes problems when the event object is created from a service. The solution is to call OpenEvent function when the CreateEvent failed due to access control. The proper solution would be to use CreateEventEx function, but this one is not available on Windows XP.
cfa6f4bf