[fpc-pascal] findfirst and findnext on non accessible files

Marc Santhoff M.Santhoff at t-online.de
Wed Jun 28 04:38:51 CEST 2006


Hi,

trying to use FindFirst and FindNext on files I cannot detect the
difference between a failed call because of no matching file and a
failure when the file or dir is not listable by the user lacking
permissions.

If I'd use fpstat and friends myself this would mean doing anything
doubly and having to write some code for each os in question.

Is there any function or procedure that could help me here? Or should
the implementation of FindFirst/Next be adapted to respect users
credits?

TIA,
Marc





More information about the fpc-pascal mailing list