Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shared textfile

Status
Not open for further replies.

dx111ge

Programmer
Sep 4, 2002
62
EU
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
 
try comunicating the 2 applications to avoid the concurrence when reading or writting the file


<strong>---LastCyborg---</strong>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top