![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | VISTA Prob in GetOldestEventLogRecord ad in RecordNumbes Hello Experts, On VISTA, both 32 bit as well as 64 bit, I observe a few problems with Eventlog APIs when Record Numbers in the EventLog start from a higher number rather than 1. (Note this can be achieved by limiting the size and marking Overwrite options) Comparison was done using Following WMI CMI Studio. Example Query SELECT * FROM Win32_NTLogEvent where Logfile="Application" ISSUE1 ====== Browsing EventLogFile through ReadEventLog give inconsistent results: Value of 'RecordNumber' member of the strucure EVENTLOGRECORD differ from what is observed in WMI CMI Studio These Obtained RecordNumber values give Correct result using EventLogApis, like reading Message But the same number doesn't have validity in WMI Studio ISSUE2 ===== 'GetOldestEventLogRecord' API returns always 1, even if oldest RecordNumber is greater than 1 Thanks, Pankaj |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VISTA Prob in GetOldestEventLogRecord ad in RecordNumbes > These Obtained RecordNumber values give Correct result using EventLogApis, > like reading Message But the same number doesn't have validity in WMI > Studio This sounds more like a problem in WMI Studio, than in Vista; as long as the API is working correctly. WMI Studio is pretty old now (c.2002?) and I doubt anyone at Microsoft is doing any maintenance on it. So it might just be a fact of life. Unless someone wants to write a KB article. Generally, SDK tools don't get the same support and maintence resources from Microsoft that revenue-generating products get (whether that's a good or bad thing, is a separate discussion). > 'GetOldestEventLogRecord' API returns always 1, even if oldest > RecordNumber > is greater than 1 Interesting. I might try to repro, if I can get my Event Log to start with a record higher than 1. But not many dev support guys from Microsoft lurk in this forum, so don't expect Microsoft to act on a bug report based on your post. If your company has a support agreement with Microsoft, your best bet would be to open a Service Request, to report the bug. If you don't want the administrative overhead of an SR, you can submit feedback via this webpage: http://feedback.windowsvista.microso...om/gp/cp_vista That will have a better chance of reaching the Product Group in Microsoft, than a post here will. Regards, -- Andrew McLaren amclar (at) optusnet dot com dot au |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| prob in BF 2142 in VISTA x64 | Gaming | |||
| I Can't connect to my ISP with Vista dial up, with XP without prob | Vista General | |||
| Activation prob. in Vista | Vista General | |||
| Email prob using Opera with Vista | Vista General | |||
| IE7 Prob with Vista | Vista General | |||