Hallo,
basically i have 2 application , Application a writes to a log file, Application to check the log file periodically. But if App2 try to read and App1 is writing , i run in error. Especially, if the log file is really big , i run in this error , i tried
{$I-}
AssignFile(F,s);
FileMode := 0;
Reset(F);
{$I+}
Possible , this is the wrong way , to open the file ? I work with Delphi 5
Thanks for any hints
basically i have 2 application , Application a writes to a log file, Application to check the log file periodically. But if App2 try to read and App1 is writing , i run in error. Especially, if the log file is really big , i run in this error , i tried
{$I-}
AssignFile(F,s);
FileMode := 0;
Reset(F);
{$I+}
Possible , this is the wrong way , to open the file ? I work with Delphi 5
Thanks for any hints