[fpc-pascal] extracting file attributes

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Aug 15 10:27:48 CEST 2007


Hi,

Is there a x-platform file attributes function in the RTL?  I'm
creating a file grid component in fpGUI and need to extract some
information about each file. Info like: Size, Attributes (win32) or
Mode (linux), Mod Date, Group, Owner, Is symbolic link, etc..

I can abstract those parts to be implemented in each platform, but
don't want to reinvent the wheel when they already exist in RTL.

Regards,
  - Graeme -



More information about the fpc-pascal mailing list