File Sharing Problem
From: Bojidar Markov (boshko_at_nospam.yahoo.com)
Date: 11/28/03
- Next message: Angus Robertson - Magenta Systems Ltd: "Re: Creating new Dial-Up connection"
- Previous message: Chris Morgan: "Re: Problem with FOR Loop"
- Next in thread: Kurt Barthelmess: "Re: File Sharing Problem"
- Reply: Kurt Barthelmess: "Re: File Sharing Problem"
- Reply: Peter Below (TeamB): "Re: File Sharing Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Nov 2003 01:32:03 -0700
When I try to open an existing file with CreateFile if the file is locked, GetLastError returns "The process cannot access the file because it is being used by another process."
In this case I can't do much.
My questions is, how Windows can use the locked files?
For example if I open an Interbase database it is locked and I can't get its handle to read the file's date, but Windows opens it without a problem (when I use CopyFile API it's working, because I don't have to pass the file's handle).
I hope you will help me.
Thanks in advance,
Bojidar Markov
- Next message: Angus Robertson - Magenta Systems Ltd: "Re: Creating new Dial-Up connection"
- Previous message: Chris Morgan: "Re: Problem with FOR Loop"
- Next in thread: Kurt Barthelmess: "Re: File Sharing Problem"
- Reply: Kurt Barthelmess: "Re: File Sharing Problem"
- Reply: Peter Below (TeamB): "Re: File Sharing Problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|