pdh.dll failed to load counters

L

Lital Admoni

Hi,
I have an application that uses the pdh.dll, and load
performance counters.
On a specific computer with Win 200 with SP4 it fails to
load the Memory counters:
-\\Memory\\Commit Limit
-\\Memory\\Committed Bytes
the return code of PdhAddcounter is: PDH_CSTATUS_NO_OBJECT
(the physical disk counter loaded successfully).
the pdh.dll ver is 5.0.2195.6660.
There is enough memory/disk space/cpu.
Does you know what can cause this to happan?
Thanks in advance,
Lital
 
G

Guest

Can you please post the full PDH path \\Machine Name\Object Name\Counter\Instance, so it could be find out why it is failing, because when tried it worked perfectly.

YASH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top