Solved

Call RegQueryValueEx, raise errors in event viewer log

Posted on 2002-03-04
3
250 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Fully specialized class template function 21 136
White board coding practice 3 88
Header of docx file 17 103
Embarcadero C++ Builder XE10.1 Berlin red arrow Indicator 2 37
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

823 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