[Lazarus] How to determine the file extension to use

Vincent Snijders vsnijders at vodafonevast.nl
Fri Oct 23 10:29:48 CEST 2009


Graeme Geldenhuys schreef:
> Hi,
> 
> I want to launch an application via code. I know the location of the
> file (it will always be the same directory as the application), but I
> don't know the file extension. Under Linux it doesn't have an
> extension and under Windows it will have '.exe' extension.
> 

http://lazarus-ccr.sourceforge.net/docs/lcl/fileutil/getexeext.html

Vincent




More information about the Lazarus mailing list