Einzelnen Beitrag anzeigen

user

Registriert seit: 13. Jul 2010
25 Beiträge
 
Delphi 2 Desktop
 
#4

AW: Lock File but My app still can read it?

  Alt 11. Feb 2011, 02: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.
  Mit Zitat antworten Zitat