Displaying 1 result from an estimated 1 matches for "tail_for_win32".
2006 May 20
1
EventLog#tail followup
The solution I see is something like this:
* Set a @last instance variable in the constructor.
* In the read_last_record function, check to see if @last is nil. If it
is nil, then it''s our first read. Use the current approach, and set
@last to the record number.
* If @last isn''t nil, use EVENTLOG_FORWARDS_READ | EVENTLOG_SEEK_READ
flags instead, and use @last + 1 as the