G
Guest
Dear Windows programmers/specialists,
I am software developer who has been charged with migrating a Windows
application to work seamlessly with Windows terminal server. We're using
C/C++ as our development language.
My application is an "Interactive" Windows service that runs in the
background.When installed in normal Microsoft Windows client systems, the
service
spawns off (using CreateProcess()) a GUI to the default Winsta0
desktop (i.e. the standard Windows desktop) when it detects that a user has
logged in.
On testing this application in a Windows 2000 terminal server, when a user
logs in using remote desktop client, the service runs in the background, but
it fails to lauch the GUI to the desktop that I am using. We want to make
the GUI launch to the desktop of the user(s) logging into the terminal server.
I have been tasked to research this problem. Could it be that we are
launching the GUI to the wrong place? We see the GUI in the task manager,
however, it does not appear on our desktop. If so, how can we make the GUI
program launch to the desktop of the user logged in using remote desktop
client? Is
there a way to figure out the path or name of the desktop that a user is
using and then pass that desktop to
CreateProcess()?
Any Ideas or helpful pointers will be helpful..
Very many thanks in advance.
I am software developer who has been charged with migrating a Windows
application to work seamlessly with Windows terminal server. We're using
C/C++ as our development language.
My application is an "Interactive" Windows service that runs in the
background.When installed in normal Microsoft Windows client systems, the
service
spawns off (using CreateProcess()) a GUI to the default Winsta0
desktop (i.e. the standard Windows desktop) when it detects that a user has
logged in.
On testing this application in a Windows 2000 terminal server, when a user
logs in using remote desktop client, the service runs in the background, but
it fails to lauch the GUI to the desktop that I am using. We want to make
the GUI launch to the desktop of the user(s) logging into the terminal server.
I have been tasked to research this problem. Could it be that we are
launching the GUI to the wrong place? We see the GUI in the task manager,
however, it does not appear on our desktop. If so, how can we make the GUI
program launch to the desktop of the user logged in using remote desktop
client? Is
there a way to figure out the path or name of the desktop that a user is
using and then pass that desktop to
CreateProcess()?
Any Ideas or helpful pointers will be helpful..
Very many thanks in advance.