I am trying to get read only access to a .CSV file that is currently open with another application that is filling it.
AssignFile(FF, CSVFile);
FileMode:= fmopenread;
Reset(FF);
Error 103 is returned.
If the other application is closed and MY app is started the file opens OK. If I then start the other App, everything works OK until MY app trys to reopen the file.
I have tried different values for "FileMode" for Sharing with no success. The "Other Application" and Excel have the same effect on my program (Error 103).
AssignFile(FF, CSVFile);
FileMode:= fmopenread;
Reset(FF);
Error 103 is returned.
If the other application is closed and MY app is started the file opens OK. If I then start the other App, everything works OK until MY app trys to reopen the file.
I have tried different values for "FileMode" for Sharing with no success. The "Other Application" and Excel have the same effect on my program (Error 103).