Solved

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

Posted on 2004-10-06
4
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
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.

688 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