PDH API sample

I'm trying to use a MSDN sample (statlist) that browse counters using PDH API.
The samples crashes immediately after I'm try to add a counter from main menu.
leandroAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

leandroAuthor Commented:
URGENT ! URGENT !
0
EpsylonCommented:
So many points and so little info.....

What samples are you talking about?
0
intheCommented:
hello
have a look here :
http://www.wilsonc.demon.co.uk/delphi.htm

(components that enscapulate performance datahelper dll and a demo:

more specifically:
http://www.wilsonc.demon.co.uk/Delphi%20Components/pdh/pdh.zip

Regards Barry
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

MadshiCommented:
AAAHHH!!!! Barry!!! Stop that! You don't want to become no (2) in the Delphi forum, do you?   :-))

Well, I had the same link, too...   :-(

But I've some more links:   :-P

http://www.jgsoftware.com/files/ntperf.zip
http://www.jgsoftware.com/files/pdhd10.zip
http://www.jgsoftware.com/files/perfmon.zip

Regards, Madshi.
0
intheCommented:
LoL :-)

here  another:
Delphi 4:

http://members.tripod.com/~aldyn/PerfUtilsD4Src.zip

(replace d4 in link with d3 or d5 for those versions )+(source included)

0
IndefreiCommented:
Madshi,
You did miss something i guess,
Be sure, Barry is going to be No 1  !!!
in the Delphi forum
It's just a question of time
Indi
0
IndefreiCommented:
Entschuldige,
ich weiß ja,
daß Du es eigentlich schon geschnallt hast,
und,
was soll's !
macht doch trotzdem Spaß, oder !?
Guten Rutsch ins neue Jahrtausend
Tschüß
Indi
0
MadshiCommented:
Well, I'm just working on a little EE-hacking program now. Hahaha!! I'll move some points from Barry's account to mine...   :-))
0
intheCommented:
hehe ;-)
happy new year all
0
intheCommented:
was'nt this meant to be urgent? ...
0
intheCommented:
oh well dont ya just love helping people who want something ,then when they get the help they bugger off again without a word of thanks !


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.