My program needs to read a log file which is updated as the program is running.
Is there any special way to open a file that will change? or do i need to reopen it once a second to get the added text? (the log will get about 100 lines/second). Ive looked in the delphi/win32.hlp files and cant really find anything usefull...
Would like to do this in delphi5 or vc++6. Ive coded the rest of the program in d5.
found out how to do it.. the file I/O functions built into pascal dont let you set the share mode, so all files are read only to other programs
I used TFileStream instead, which worked well