ShellExecute alternative

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ShellExecute alternative

Darius Blaszyk
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

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: ShellExecute alternative

Inpromptu -2

>
> 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
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal