On Sun, 15 Nov 2015, leledumbo wrote:

How can I check if the file is locked before reading its contents?

Just handle the exception. Doing nothing in the handler is perfectly fine.

It is the only possible option.

Michael.

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

Reply via email to