Lock a File
From: DP (ramneek_devinder_at_comcast.net)
Date: 01/23/04
- Next message: Paul Mayer: "LVM_GETITEMCOUNT not working"
- Previous message: Pierre Marie: "Re: WinExecAndWaitV2, ok but a question:"
- Next in thread: Andreas Schmidt: "Re: Lock a File"
- Reply: Andreas Schmidt: "Re: Lock a File"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Jan 2004 06:16:17 -0700
Hi,
How do I Lock a file so that second user trying to open the file is just
able to read the contents. The first user needs to be able to read and
write both.
I have been trying to play with CreateFile API and its flags and somehow
it seems to fail when an attempt is made to open a same file across the
network by two users.
Any ideas on how to achieve this.
Thanks
DP
- Next message: Paul Mayer: "LVM_GETITEMCOUNT not working"
- Previous message: Pierre Marie: "Re: WinExecAndWaitV2, ok but a question:"
- Next in thread: Andreas Schmidt: "Re: Lock a File"
- Reply: Andreas Schmidt: "Re: Lock a File"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|