session0 isolation in Windows 2008/windows7 -


I have a C ++ application that uses mutes, events, semaphores for synchronization. When hosted in Windows 2008 Server / Windows 7, this application is not starting from remote client. I used the telnet client to connect remotely to this application and saw that the telnet server is running under session 0 and so it is trying to start my application under the session. My app is trying to open a Mute X, which was run by another application locally (in session 1).

I can apply my application on the basis of "Global \" per page for Mute X name. What I see is the way to run a path without changing this code Is it possible? Is it possible to start the Telnet service under Session 1? CreateMutex (& amp; SA, FALSE, Buffer, "MyMutexName"));
I createMutex (and SA, FALSE, SYS_ID2 (szSysIdBuffer, "Global \ MyMutexName")); But there is no other way to make this change. Thank you

You probably know the document that describes problems with session 0 isolation. The old method of creating a service interactive is described in the case that does not work on Widows 7, because Terminal Services is the default active.

It seems to me that in your case the "Global" prefix that you currently use, is actually best to understand the complexity of any other possible way For you can read the following.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -