Peter Ritchie | 20 Nov 17:15
Favicon

Re: Process.Start() on Terminal Server.

I found this link
http://blog.delphi-jedi.net/2008/05/17/the-case-of-shellexecute-shellexecuteex-createprocess-and-oskexe/
that does detail that ShellExecuteEx 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--which 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

===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives


Gmane