function FileIsReadable(const AFilename: string): boolean;
from fileutil.inc
for windows it simply returns true.
Is there a way under windows to return whether we have security to read a file?
I know i can try and then see if i get an error. :-)
it would be nice then to fix this routine if under an nt kernel to actually do
that if that is the only way.
There are many of the fileutil routines which simply assume answers
under windows.
In most cases answers which under non-nt kernels was correct.
But under nt kernels might not be.
--- dale
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives