On Sat, Jul 17, 2010 at 7:42 PM, Mattias Gaertner
<[email protected]> 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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to