|
-
Jun 29th, 2004, 05:20 AM
#1
Thread Starter
New Member
File still being created
Ok so another process creates a file. I want my program to figure out when that file is done being created. Right now it sets a file size and loops for 2 seconds and checks the file size again. This method sucks and makes the program appear locked up until the file is done being created.
Anyone have a better way to do this? I searched several items in the forum and the only thing I found similar said to loop and keep trying to open the file until I don't get any errors. Which i'm not sure if that's anybetter.
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
|