PABLOCABALLERO
August 4th, 2005, 08:44 PM
I apologize by my bad english.
I am creating and event handle from a program running as a service.
I am doing this calling CreateEvent with the following parameters:
CreateEvent(NULL,FALSE,FALSE,"EVENT_NAME")
When I call OpenEvent(EVENT_ALL_ACCESS,TRUE,"EVENT_NAME") from a COM component (after that the service is started and the call of CreateEvent) the return value of this call is NULL and GetLastError return 2.
Thanks for your help
I am creating and event handle from a program running as a service.
I am doing this calling CreateEvent with the following parameters:
CreateEvent(NULL,FALSE,FALSE,"EVENT_NAME")
When I call OpenEvent(EVENT_ALL_ACCESS,TRUE,"EVENT_NAME") from a COM component (after that the service is started and the call of CreateEvent) the return value of this call is NULL and GetLastError return 2.
Thanks for your help