[Lazarus] File is locked?

leledumbo leledumbo_cool at yahoo.co.id
Sun Nov 15 11:51:28 CET 2015

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

More information about the Lazarus mailing list