treating to read a busy file
I was programing a code in compaq visual fortran 6.6 for next compile it in a dll format and, This code uses a information that is in another file. The other file is continuously renewing and I got a problem treating to open it in my code because it reclaims that the file is in use,
I defined it as readonly but I got the same problem. Is there any solution in this case?
[385 byte] By [
zerocle] at [2007-11-26 9:05:15]

# 1
In order to read the file that is continuously renewed, you need to have some way of synchronizing between two processes - reader and writer. Otherwise, you're going to read inconsistent data. This task is more general than Fortran and involves inter-processes synchronizations, which are slightly different for different operating systems.
Since you use Compaq Fortran compiler on (apparently) Windows, I suggest you to request information from compiler/OS vendors; you can be sure you find what you need.