[Lazarus] tail on windows

dmitry boyarintsev skalogryz.lists at gmail.com
Sat Jul 17 19:52:06 CEST 2010


On Sat, Jul 17, 2010 at 7:42 PM, Mattias Gaertner
<nc-gaertnma at netcologne.de> wrote:
> Is it really that complicated under windows to open a file shared
> readable?
> Why is an Assign, Close, Assign, Append needed?

You're right! There's no reason for such complexity.
Changing Filemode flag to fmShareDenyNone (or fmShareDenyWrite) is
enough to make the file readable, even if file is created via
Rewrite() function.

thanks,
dmitry




More information about the Lazarus mailing list