Solved

Call RegQueryValueEx, raise errors in event viewer log

Posted on 2002-03-04
3
253 Views
Last Modified: 2010-04-01
Hi! All

In Win2000, I called RegQueryValueEx(HKEY_PERFORMANCE_DATA, "510", 0, &type, data, &size) to collect netcard's performance data. The returns is SUCCESS, but this will raise warning and error in event viewer log, the warning and error are following:

WARN:"The configuration information of the performance library "E:\WINNT\System32\w3ctrs.dll" for the  "W3SVC" service does not match the trusted performance library information  stored in the registry. The functions in this library will not be treated  as trusted. "

ERROR: "The Open Procedure for service "MSMQ" in DLL "E:\WINNT\System32\MQPERF.DLL" failed.  Performance data for this service will not be available. Status code  returned is data DWORD 0. "
Is it a serious problem? How to solve such problems? Thanks in advance.

Richard
0
Comment
Question by:lchuang
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 6839029
0
 
LVL 11

Expert Comment

by:griessh
ID: 6955250
Dear lchuang

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "jkr"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 6979024
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question