
Error 75 (Path/File access error) ???
I'm getting the error in the subject on occasion during a Timer event where
I do some file operations. Some observations:
1) I'm invoking "DoEvents" within the event (after writing to Winsock--
apparantly this is necessary for the data to be sent) but I'm not having
re-entrancy problems since Timers aren't re-entrant.
2) Sometimes (but not often) I may "Kill" a file and then immediately
"Name" another file to the deleted file name. I thought maybe there was a
conflict with the OS falling behind but a simple test project didn't
reveal any problems here. Maybe the difference is a busy file system? (as
in the case of the machine where the errors are occurring)
3) I am referring to the file by its full path.
4) My only file operations in the event are Dir, Kill, Name, Open (for
Input), Line Input, and Close
5) Just for background, the Timer event is being used as a file watcher.
Another application writes data to a file and when I see it I read it in.
Could the other app's access to the file (Append) cause this error? Some
simple tests tell me no, but maybe other conditions exist.
Thanks for any help,
Joel Moore