[Overview][Procedures and functions] | Reference for unit 'fileshare' (#powtils_main) |
Source position: fileshare.pas line 23
function FileMarkWrite( |
const fname: String |
):Boolean; |
begin FileMarkWrite('test.txt'); // other people can not access the file and they wait until it is unlocked! // do work on the file here // ... FileUnmarkWrite('test.txt'); // now others can access the file after unmarking end.