[python-win32] RE : win32pdhutil.ShowAllProcesses() fails

Roger Upole rwupole at msn.com
Sat Jul 15 20:46:51 CEST 2006


> Charles BROSSOLLET wrote:
>
>> when I looked again in the archives, I looks that people who have the problem are on non-english OSes... Maybe it is related?
>> Cheers
>> Charles
>

Actually, I just noticed that win32pdhutil already has a function to retrieve the localized
counter name.  If you change the first line of ShowAllProcesses to
object = find_pdh_counter_localized_name('Process')
does it work ?

      Roger




More information about the Python-win32 mailing list