Am 02.01.2014 20:21, schrieb waldo kitty: > > > understanding that SearchRec has different formats for different OS > targets, we've tried to use fillchar to initialize it to an empty > record... unfortunately that does not remove the hint... instead the > hint points to the fillchar line... > > we do not want to turn off hints so how can we initialize dirinfo and > make fpc happy?
With 2.7+ you can use Default (in objfpc mode): dirinfo:=Default(SearchRec); _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal