Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Vista Newsgroups > Vista General

Vista - VISTA Prob in GetOldestEventLogRecord ad in RecordNumbes

Reply
 
Old 07-18-2007   #1 (permalink)
VISTA: EVENTLOG-RECORD NUMBER Problems


 
 

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 SpecsSystem Spec
Old 07-19-2007   #2 (permalink)
Andrew McLaren


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46