ATL Service and kernal object

From: icywind (chinaliuxu_at_hotmail.com)
Date: 03/19/04


Date: Thu, 18 Mar 2004 22:41:06 -0800

I've created an ATL Service project. In this project, I create an named event using ::CreateEvent. I want to share the named event for several process. So I've created another project using MFC, which is an application. But when I try to open the named event in the application, some errors occured. By GetLastError(), I get an error code, 5, which means access is denied. Why? And how can I share a named event between a service and an application?