Yes, it works! Thank you very
much! (actually "Process ID" also had to changed)
Maybe the function should be updated in next releases?
Cheers,
Charles.
De: [EMAIL PROTECTED] de la part de Roger Upole
Date: sam. 15/07/2006 21:00
À: python-win32@python.org
Objet : [python-win32] RE : win32pdhutil.ShowAllProcesses() fails
> 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
_______________________________________________
Python-win32
mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32