Delphi Sources

Другой способ запуска чужого приложения



Оформил: DeeCo

uses
   libc;

 procedure TForm1.Button1Click(Sender: TObject);
 var
   iPrg: Integer;
 begin
   //Execute kcalc - A calculator for KDE 
  iPrg := libc.system('kcalc');
   if iPrg = -1 then
     ShowMessage('Error executing your program');
 end;







Copyright © 2004-2025 "Delphi Sources" by BrokenByte Software. Delphi World FAQ

Группа ВКонтакте