Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > VISTA Prob in GetOldestEventLogRecord ad in RecordNumbes

Reply
Thread Tools Display Modes

VISTA Prob in GetOldestEventLogRecord ad in RecordNumbes

 
 
VISTA: EVENTLOG-RECORD NUMBER Problems
Guest
Posts: n/a

 
      07-18-2007
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
 
Reply With Quote
 
 
 
 
Andrew McLaren
Guest
Posts: n/a

 
      07-19-2007
> 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


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Activation prob. in Vista Alpesh Patel Windows Vista General Discussion 42 05-04-2008 04:05 AM
Vista unwantedly wakes from hib., prob. Mediacenter --where is the cause??!! James David Byrne Windows Vista General Discussion 5 11-07-2007 09:45 PM
Email prob using Opera with Vista Twitchell Windows Vista General Discussion 2 10-21-2007 02:15 PM
Prob sharing files with a Vista laptop and an XP desktop, both wir Dave Windows Vista Networking 1 07-31-2007 12:17 PM
IE7 Prob with Vista jayar Windows Vista General Discussion 3 05-11-2007 09:29 AM



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 47 48 49 50 51 52 53 54 55 56 57 58 59