Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2005-11

ShellExecute alternative

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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

Reply by email

Inpromptu
Show quoted text 6 lines
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

Reply by email