|
-
Feb 23rd, 2005, 09:32 AM
#1
Thread Starter
New Member
How to detect if a file is being used by another process?
Hi,
In my code I'm trying to delete a log file from the pc, but before I can delete it I have to wait for its controlling application to finish writing to it. If I try to delete it while another process is using it, I just get an error message.
So, is there any way to detect if a file is being used by another process?
-
Feb 23rd, 2005, 04:41 PM
#2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|