Main Profile

At A Glance

Free Pascal Program Tutorial 28 - Running External Programs - IE Batch MS Paint Calculator - Lazarus

http://www.schoolfreeware.comTo execute an external program from within the pascal code is a simple process. TProccess will do it quickly. TProcess requires Process added to the uses area. This Is The Setup:uses Process;var? RunProgram: TProcess;begin? RunProgram := TProcess.Create(nil);? RunProgram.CommandLine := 'Path and Name of Program';? RunProgram.Execute;? RunProgram.Free;end;Links of Interest:Lazarus (Free Pascal) Wiki article on executing external programs.http://wiki.lazarus.freepascal.org/Executing_External_ProgramsTProcess Code:http://lazarus-ccr.sourceforge.net/docs/fcl/process/tprocess.htmlTProcess Help For Mac:http:[email protected]/msg01971.htmlTProcess Help For Linux:http:[email protected]/msg20819.html
Length: 04:17

Contact

Questions about Free Pascal Program Tutorial 28 - Running External Programs - IE Batch MS Paint Calculator - Lazarus

Want more info about Free Pascal Program Tutorial 28 - Running External Programs - IE Batch MS Paint Calculator - Lazarus? Get free advice from education experts and Noodle community members.

  • Answer

Ask a New Question