2009/10/23 Vincent Snijders <[email protected]>:
>
> 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
something like .dm? extension.  So I guess this function needs a bit
more work before it is FPC ready. :-)

--------------------------
function GetExeExt: string;
begin
  {$IFDEF WINDOWS}
  Result:='.exe';
  {$ELSE}
  Result:='';
  {$ENDIF}
end;
--------------------------



-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to