Registriert seit: 13. Jul 2010
25 Beiträge
Delphi 2 Desktop
|
AW: Lock File but My app still can read it?
11. Feb 2011, 03:51
My program only read a specific line from the file and I want to prevent the file being deleted by other processes or human. I think from Assarbad's description CreateFile with FILE_SHARE_READ will resolve my problem. I am away from my keyboard, I'll try the code later and confirm it.
|