Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT perfomance counters question 1

Status
Not open for further replies.

tabaar

Programmer
Jun 12, 2001
34
US
Hi!

Can anybody post here a piece of code, which gets some data, such as CPU load from NT/2000 registry/pdh.dll ?.. The main and only thing needed: this code must work under any localized (i.e. Russian or French) version of Windows.

Thanx, bye!
 
With my (limited) experience this is not possible !

I have worked with 2 different localized versions of Win2000, and found you have to specify the names of the counters (...and the names are localized as well !!).

It's hard to believe, but I am afraid that's the way it is.
/JOlesen
 
Hi!

I've found out that it can be done using PdhLookupPerfNameByIndex function, but any examples doesn't work anyway... :(

Bye!
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top