[fpc-devel] question about TSearchRec
zeljko at holobit.net
Sun Jun 12 12:43:02 CEST 2011
Just tried something with file searching and cannot remember if it's different
from dcc. fpc-2.4.3 on linux.
if FindFirst('/blah/*,fileAttr, sr)
sr.PathOnly is empty .... ok
but in case of filename
sr.FileName is extracted so there's no file path inside filename or even
written to sr.PathOnly.
until FindNext() = 0;
So, is it different from dcc ? afaik I didn't make acrobations with this under
kylix (remember each level of dir) because filename already contained path.
More information about the fpc-devel