Results 1 to 1 of 1

Thread: Reading a log file

  1. #1
    Senior Member SilentDeath's Avatar
    Join Date
    Aug 2003
    Posts
    4,745
    Thanks
    38
    Thanked
    16 times in 11 posts

    Reading a log file

    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
    Last edited by SilentDeath; 16-01-2006 at 05:03 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 63
    Last Post: 14-11-2011, 09:17 AM
  2. Replies: 45
    Last Post: 09-01-2006, 01:27 PM
  3. Java file reading and Stroing in array
    By Basher in forum Software
    Replies: 16
    Last Post: 07-04-2004, 09:19 PM
  4. Manage downloaded webpages file and folder
    By Zathras in forum Software
    Replies: 0
    Last Post: 17-09-2003, 05:37 PM
  5. Replies: 0
    Last Post: 20-08-2003, 11:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •