search for: seek_read

Displaying 4 results from an estimated 4 matches for "seek_read".

2004 Nov 01
0
buffer size for win32-eventlog (was infiniteloop bug...)
...[Win32utils-devel] buffer size for win32-eventlog > (was infiniteloop bug...) > > > > Hi, > >>I just noticed the bug is not fixed completely. > >>If run with e.read , the output record number is from 42 > to 2081. If > >>run with e.read(EventLog::SEEK_READ|EventLog::FORWARDS_READ,250) , > >>the output record number is from 250 to 820. If run with > >>e.read(EventLog::SEEK_READ|EventLog::FORWARDS_READ,42) , the output > >>record number is from 42 to 570. Why this happens? Is it the bug of > >>MS? > > &gt...
2006 Dec 14
11
Tweak to win32-eventlog
All, I got a bug report from Greg Holmes where the description wasn''t being returned properly. At the moment, if there''s no event associated with the event id, then the description is empty. However, it turns out that there can still be associated information about the event. So, I propose the following tweak to the get_description private method: # If FormatMessage()
2006 May 21
6
Possible problems with EventLog#write
Hi, I''ve got EventLog#write and EventLog.add_event_source methods done. Well, I *think* they''re done, but I can''t get the data (text) to work properly, and I''m not sure if it''s a bug in my .mc file, the add_event_source method, the write method, or just a goof in my test file. The source, category and event id seem to be ok. However, the
2004 Oct 19
0
RE: Another Interesting "Problem" with Win32-EventLog
...ere > are some > more records (or I may add some myself...) and see if that > number comes > up again. > > Is there any way to just grab a particular record instead of > iterating > the entire collection? I *thought* you could do EventLog.read(source,server,EventLog::SEEK_READ,record_num), but it''s always coming back nil for me. Hm...another test to add. > I notice that the EventLog class doesn''t mixin > Enumerable; was this by design or is it a consequence of > having C code > underneath? Just wondering. I don''t that it makes...