thanks for your good sample but a problem can be found with this method ! If your program runs on French Win2000 OS, for instance, it doesn't work because PDH seems to search counters not in the 009 key but in the localized key !!!
How to do so that the program uses only the 009 key... ?