1. Home
  2. Computing & Technology
  3. Delphi Programming

Kylix - Execute an application

By , About.com Guide

Under Windows, using Delphi all you have to do is use the ]ShellExecute or CreateProcess functions. Under Linux you have to use something else.

~~~~~~~~~~~~~~~~~~~~~~~~~
uses Libc;

procedure RunApp(sApplication: string) ;
begin
   if libc.system(sApplication) = -1 then
     ShowMessage('Cannot start the app.') ;
end;
~~~~~~~~~~~~~~~~~~~~~~~~~

Delphi tips navigator:
» Correct date format for SQL
« How do I (using Delphi) talk to Microsoft Word?

Explore Delphi Programming
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 2003 Delphi Tips
  7. Kylix - Execute an application

©2009 About.com, a part of The New York Times Company.

All rights reserved.