open file for random LOCK READ WRITE as handle 
Author Message
 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,

Sat, 19 Jan 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. reading binary file and writing into a random access file

2. read/write locking flat files

3. File locking error 3186 even when open read only

4. How to open files for read/write in .aspx

5. open a binary file for reading/writing

6. Opening a File in Read&Write mode

7. file open, read and write

8. Open evry file, Read and Write with Api

9. random access file - write to file

10. Writing a VBS file which reads and writes to the registry

11. Locking records in a random file

12. Locking records in a random file


Powered by phpBB® Forum Software