Ide Indy Delphi

Title: Call other programs with Kylix
Question: How can call another program using Kylix?
Answer:
To call another program from your application you need to use the system function.It calls another process, keeping it until it ends.
Create another application File/NewApplication.Change the form's caption to My program.Put a button on the form and make this code an onclick event for this button.
procedure TForm1.Button1Click(Sender:TObject);
var
Prg : Integer;
begin
Prg := Libc.System('kcalc');
IF Prg = -1 Then
ShowMessage('Error executing your program');
end;
Regards,
Eduardo Tavares
www.tavareswebsite.cjb.net