On Mon, 03 Jun 2013 22:27:45 +0300 Alberto Narduzzi <[email protected]> wrote:
> > > > all i can do is point to the links i just posted to mattias where it is > > defined and routines are shown with how to use it... > > Uh... I just went through the first 2 or 3 links and the amount of crap > I found is unbelievably enormous. > > Why the hell should I consider 4 platforms on 2 architectures; then > check the result whether I passed or not a NULL pointer to... ehm, well, > just get the f***ing size of a file???? This, I am sorry, is out of my > imagination scope. You can use "FileSizeUTF8" of unit LazFileUtils. function FileSizeUtf8(const Filename: string): int64; Negative result for failure. > God bless the one libc (end its ports, where possible, clean and > working). full stop. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
