> 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.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-File-is-locked-tp4045497p4045501.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

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

Reply via email to