Talk:Executing External Programs

From Free Pascal wiki
Revision as of 12:53, 28 January 2013 by BigChimp (talk | contribs) (Removed old irrelevant stuff as promised in 2012)
Jump to navigationJump to search

Not fount examples for started aplications windows managing

I'm seek examples for managen started applications. My test example not work on Win XP :(

 Var
   P1 : TProcess;
 BEGIN
   P1 := TProcess.Create(nil);
   P1.CommandLine := 'C:\Windows\notepad.exe';
   P1.Options := P1.Options + [poWaitOnExit];
   P1.Desktop := '\\.\DISPLAY2';
 \\ or
 \\P1.Desktop := '2';
 END.

How to start or move started application to second display?

Reply

Sorry, no idea. Please ask this question on the forum or mailing list... much more chance of knowledgeable people responding. --BigChimp 12:37, 12 July 2012 (UTC)