[fpc-pascal] ShellExecute alternative

Inpromptu inpromptu at operamail.com
Sun Nov 13 01:58:02 CET 2005

> I'm using ShellExecute in my application on numerous occasions. What is
> considered to be an OS independent alternative here?? Or do I ifdef it for
> each platform??
> Darius Blaszijk

I do ifdef for each platform.

With lazarus (and KDE, Linux)  I do :

var s:longint;


s:=shell('kfmclient exec '+filename);

Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze

More information about the fpc-pascal mailing list