Solved

Call RegQueryValueEx, raise errors in event viewer log

Posted on 2002-03-04
3
243 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
Comment Utility
0
 
LVL 11

Expert Comment

by:griessh
Comment Utility
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
Comment Utility
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now