Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
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 viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

920 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

16 Experts available now in Live!

Get 1:1 Help Now