Re: Kernel / user mode shared events and remote desktop
- From: Francois Champs <FrancoisChamps@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 20 Oct 2005 08:39:19 -0700
Ok Don, that works fine! Thank you very much.
Maybe that will help some others...:
I had to create my event as "\\BaseNamedObjects\Global\EVENT_NAME" in kernel
mode.
Then OpenEvent it with "Global\EVENT_NAME" and it works.
With DevView.exe (something like WinObj.exe), I can see that then event is
created in BaseNamedObjects\Global and it is not duplicatd in the Session.
Have a nice day all,
Francois.
"Don Burn" wrote:
> Well this is because the remote desktop runs in a different session and the
> event names you are creating are in the main session. The problem is that
> BaseNamedObjects is unique for each session. You are going to have to
> create the events in Global and modify all the applicaitons to use things
> this way. Note on Vista thsi will occur for all users, see
> http://www.microsoft.com/whdc/system/vista/services.mspx
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> "Francois Champs" <FrancoisChamps@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
> message news:E7A26890-58BD-4BEA-A152-6EA9FD32C57B@xxxxxxxxxxxxxxxx
> > Dear All,
> > My architecture uses named events that I create in kernel mode. They are
> > created in the BaseNamedObjects "directory".
> > A user mode app then asks the kmode device the name of such events through
> > an IOCT and the open it.
> > This used to work very well till one of our customer started to use it on
> > a
> > server (W2K3) from another client computer through the remote desktop:
> > In such context, the OpenEvent in the application fails with a
> > ERROR_FILE_NOT_FOUND.
> > I'm really surprised of that (because the app is supposed to execute on
> > the
> > server, not on the client...) but I guess that there is something like the
> > event name should refer to an absolute name including the server
> > name...????
> > I tried things like "//BaseNamedObjects/EVENT_NAME" and
> > "//SERVER_NAME/EVENT_NAME" but it still doesn't work...
> > Any hint about that????
> > Many thanks in advance,
> > Francois.
>
>
>
.
- Prev by Date: RE: UNIDRV Banding Line Count error?
- Next by Date: Re: IRP_MJ_READ Problem
- Previous by thread: usb drive's vid & pid
- Next by thread: Re: Kernel / user mode shared events and remote desktop
- Index(es):
Relevant Pages
|