Forum posts for services.exe

CeSetUserNotificationEx with named event and CNT_TIME fails under services.exe

I have a service application, a simple dll running under services.exe. I can attach the VS debugger to services.exe, activate the service application dll and then single step it in the debugger without any problem.

Now, I try to use CeSetUserNotificationEx to be notified at a certain time in the future. I use the CNT_TIME trigger type with the named event naming scheme. When doing this under services.exe, the event is never signaled by the notification subsystem when the time occurs.

If I run the dll under a separate exe that just loads the xxx_Init function (and other xxx_...) and calls it, then the exact same code will generate a signaled event when the time occurs.

Why doesn't it work under services.exe?

View complete forum thread with replies

Other posts related to services.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

how to change the way explorer.exe and service.exe is started up to edit process affinity?
Why is services.exe changing the Event Log retention policy?
difference between process explorer and task manager [closed]
In windows programming, is there any way we can find out which module (Thread ID & DLL) is c…
CeSetUserNotificationEx with named event and CNT_TIME fails under services.exe
How to read a REG Value into an Environment Variable
Hooking Protected Processes

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.