Solved

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

Posted on 2004-10-06
4
202 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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 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 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…

777 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