[Lazarus] How to determine the file extension to use

Vincent Snijders vsnijders at vodafonevast.nl
Fri Oct 23 12:04:19 CEST 2009


Graeme Geldenhuys schreef:
> 2009/10/23 Vincent Snijders <vsnijders at vodafonevast.nl>:
>> http://lazarus-ccr.sourceforge.net/docs/lcl/fileutil/getexeext.html
> 
> 
> Looking at the implementation of GetExeExt(), I'm not sure how
> "complete" this is. Especially if applied to other platforms. For
> example, OS/2 also uses ".exe" extension. Also, doesn't Mac OS X use

The LCL doesn't support OS/2 (yet?).

> something like .dm? extension.  So I guess this function needs a bit
> more work before it is FPC ready. :-)
> 

AFAIK, dmg is an archiver extension (disk image), not an executable extension.

I think it is ok for the LCL.

Vincent




More information about the Lazarus mailing list