Link to home
Start Free TrialLog in
Avatar of lchuang
lchuang

asked on

Call RegQueryValueEx, raise errors in event viewer log

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
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Avatar of Mindphaser
Mindphaser

Force accepted

** Mindphaser - Community Support Moderator **