
open file for random LOCK READ WRITE as handle
Is it bad practice to open files using the LOCK option. I never knew it
existed until yesterday. I played with it a little bit and noticed that
even if an app open the file in LOCK mode, and the app terminates before
closing the file, Windows automatically closes it. But that is all the
experience I have with LOCK.
Does anyone else use it regularly without problem.
Are there things to be on the lookout for when using LOCK.
Thanks for all,
G.Doucet