Re: Process.Start() on Terminal Server.
Peter Ritchie <[email protected]> Fri, 20 Nov 2009 11:15:30 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.advanced |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
I found this link http://blog.delphi-jedi.net/2008/05/17/the-case-of-shel= lexecute-shellexecuteex-createprocess-and-oskexe/ that does detail that S= hellExecuteEx re-uses the default desktop (the terminal service desktop) = for all new processes (which means one only instance can be executed) and= CreateProcess doesn't (it uses the desktop of the parent application--wh= ich if run in different terminal service sessions would have a different = terminal service desktop). I too currently don't have the resources to test this out. -- Peter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives