[fpc-pascal] Re: extracting file attributes

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Aug 15 10:40:31 CEST 2007


Sorry, I'm being stupid!!!  TSearchRec gives me everything I need.
How did I miss that! :)


Graeme.



On 15/08/07, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> 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