Solved

pdh (performance data helper) program made on one pc, wil it run on other pc's ??

Posted on 2004-10-06
4
193 Views
Last Modified: 2010-04-01
Hi,
I made a program which makes use of the pdh-classes on one pc (win xp, msvc 6.0). I tried to run it on another pc, and it gave only zeros as results. pdh.dll is on the other computer. What else might be wrong ?????


Thanks a lot.
0
Comment
Question by:BOL_SNOT
  • 2
4 Comments
 
LVL 17

Expert Comment

by:rstaveley
ID: 12235630
Have you checked the DLL version - see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/pdhgetdllversion.asp ? That should check if the functionality you are using is available to you.
0
 

Author Comment

by:BOL_SNOT
ID: 12259974
Thanks, but I copied the dll from my other computer also, and it also doesn't works...
Is there something I should have installed for it to work ??

Thanks.

0
 
LVL 2

Accepted Solution

by:
teuntje earned 500 total points
ID: 12271384
Yes.
Just install the Platform SDK.

teun.
0
 

Author Comment

by:BOL_SNOT
ID: 12271419
Thanks, I'll try it.
if it doesn't works I open a new thread.
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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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. …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

708 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

12 Experts available now in Live!

Get 1:1 Help Now