Re: [lazarus] ShellApi available in Lazarus?
On Fri, 7 Dec 2007 09:51:46 -0800 el stamatakos [EMAIL PROTECTED] wrote: Hi Jeff, I would like to be able to call other programs so I usually would use the ShellExecute command. How is this done on Lazarus for Linux. Thanks See http://wiki.lazarus.freepascal.org/Executing_External_Programs Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] ShellApi available in Lazarus?
Hi Jeff, I would like to be able to call other programs so I usually would use the ShellExecute command. How is this done on Lazarus for Linux. Thanks Lefti From: [EMAIL PROTECTED] To: lazarus@miraclec.com Subject: Re: [lazarus] ShellApi available in Lazarus? Date: Fri, 7 Dec 2007 00:08:24 -0700 - Original Message - From: el stamatakos To: lazarus@miraclec.com ; [EMAIL PROTECTED] Sent: Thursday, December 06, 2007 17:02 Subject: RE: [lazarus] ShellApi available in Lazarus?Hi John Would this work undre Linux? Thanks Lefti Date: Fri, 7 Dec 2007 10:32:47 +1100 From: [EMAIL PROTECTED] To: lazarus@miraclec.com Subject: Re: [lazarus] ShellApi available in Lazarus? el stamatakos wrote: Hi All, is the ShellApi available in Lazarus? When I add it into my uses ShellApi it comes back with an error cannot find unit ShellApi. Thanks Lefti See if what you want is in the windows unit. cheers, John - The shell commands are windows only and will be found in the windows unit. I would recommend using the TProcess which should work for both Linux and Windows. Jeff _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] ShellApi available in Lazarus?
Hi All, is the ShellApi available in Lazarus? When I add it into my uses ShellApi it comes back with an error cannot find unit ShellApi. Thanks Lefti
Re: [lazarus] ShellApi available in Lazarus?
el stamatakos wrote: Hi John Would this work undre Linux? el stamatakos wrote: Hi All, is the ShellApi available in Lazarus? When I add it into my uses ShellApi it comes back with an error cannot find unit ShellApi. See if what you want is in the windows unit. cheers, John I wouldn't think so, it is mainly wrappers for the windows functions and supporting definitions. I thought you were using window$ from some of your previous mails. (It would help us give better answers if you provided some more information about what you are trying to do, and what system you are using :) ) I think that generally, once you start using OS APIs, (which is what I presume you mean by shell API) you have to code them separately for each OS. Probably there are equivalent units for other OSs, but I haven't used any others (yet) so I'll let those who have answer that question. cheers, John . _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] ShellApi available in Lazarus?
- Original Message - From: el stamatakos To: lazarus@miraclec.com ; [EMAIL PROTECTED] Sent: Thursday, December 06, 2007 17:02 Subject: RE: [lazarus] ShellApi available in Lazarus? Hi John Would this work undre Linux? Thanks Lefti Date: Fri, 7 Dec 2007 10:32:47 +1100 From: [EMAIL PROTECTED] To: lazarus@miraclec.com Subject: Re: [lazarus] ShellApi available in Lazarus? el stamatakos wrote: Hi All, is the ShellApi available in Lazarus? When I add it into my uses ShellApi it comes back with an error cannot find unit ShellApi. Thanks Lefti See if what you want is in the windows unit. cheers, John - The shell commands are windows only and will be found in the windows unit. I would recommend using the TProcess which should work for both Linux and Windows. Jeff _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives