From: Karsten Baumann on
Hello,

can you give me a short example, please? I dont know, how I have to code
this...

Karsten

"Karsten Baumann" <news(a)kbaumann.de> schrieb im Newsbeitrag
news:7F5C9608-F406-49DF-BDC6-8B3521240FEC(a)microsoft.com...
> Thanks! I will try this ;o)
>
> Karsten
>
> "Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> schrieb im
> Newsbeitrag news:3823229F-2743-444A-BEEC-E6C935DCA197(a)microsoft.com...
>> Yes, that's as-intended. What's the problem? That 1) the program is
>> still
>> running and you want to know how to stop it (see my previous message),
>> or 2)
>> you want it to be able to still be running and to handle that?
>>
>> If 2), then you need to make two CeRunAppAtTime calls, one to run the
>> application, in case it is not still running, and one to trigger a named
>> event which the application will create. The application needs to set a
>> thread to wait on the event, for that case.
>>
>> Paul T.
>
>
From: Karsten Baumann on
Hello,

I have found a sample for a named event
(http://msdn.microsoft.com/en-us/netframework/bb870451.aspx). The problem
is, that the code works only on a english device . On my german device the
event not raise.

I think, that the path for named events on my german PocketPC (WinMo 6.1)
not right:
Const _timeOfDayEventName As String = "\\.\Notifications\NamedEvents\" &
_eventName

Can you help me?

Karsten


"Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> schrieb im
Newsbeitrag news:3823229F-2743-444A-BEEC-E6C935DCA197(a)microsoft.com...
> Yes, that's as-intended. What's the problem? That 1) the program is
> still
> running and you want to know how to stop it (see my previous message), or
> 2)
> you want it to be able to still be running and to handle that?
>
> If 2), then you need to make two CeRunAppAtTime calls, one to run the
> application, in case it is not still running, and one to trigger a named
> event which the application will create. The application needs to set a
> thread to wait on the event, for that case.
>
> Paul T.


From: Paul G. Tobey [eMVP] paultobey _at_ earthlink _dot_ on
You've checked the event name in the debugger and verified that it appears
right? I posted another message earlier that hasn't appeared yet, but I
can't find any sign that the event prefix \\.\Notifications\NamedEvents\ is
localized at all. I can't explain why German would make any difference.

Assuming that's true, look at what, eactly, you're doing on the assumption
that it's wrong, in some way. You're asking for your event to be set on some
occurrence that never happens, that happens repeatedly and you're not using
an AutoReset event, that will happen, but not for days, etc.

Paul T.

"Karsten Baumann" wrote:

> Hello,
>
> I have found a sample for a named event
> (http://msdn.microsoft.com/en-us/netframework/bb870451.aspx). The problem
> is, that the code works only on a english device . On my german device the
> event not raise.
>
> I think, that the path for named events on my german PocketPC (WinMo 6.1)
> not right:
> Const _timeOfDayEventName As String = "\\.\Notifications\NamedEvents\" &
> _eventName
>
> Can you help me?
>
> Karsten
>
>
> "Paul G. Tobey [eMVP]" <paultobey _at_ earthlink _dot_ net> schrieb im
> Newsbeitrag news:3823229F-2743-444A-BEEC-E6C935DCA197(a)microsoft.com...
> > Yes, that's as-intended. What's the problem? That 1) the program is
> > still
> > running and you want to know how to stop it (see my previous message), or
> > 2)
> > you want it to be able to still be running and to handle that?
> >
> > If 2), then you need to make two CeRunAppAtTime calls, one to run the
> > application, in case it is not still running, and one to trigger a named
> > event which the application will create. The application needs to set a
> > thread to wait on the event, for that case.
> >
> > Paul T.
>
>