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

2006-07-15 Thread Charles BROSSOLLET
I think I found the problem : the object name that is passed to EnumObjectItems must be localized in the system language!! damned Windows...   I used win32process functions to get the work done, I post it so in case it can help somebody...   import win32process, win32api, winnt, os def

Re: [python-win32] RE : win32pdhutil.ShowAllPro cesses() fails

2006-07-15 Thread Michel Claveau
Hi!   After the Charles's message, I try, on my XP-SP2 "FRENCH". Same error :   Traceback (most recent call last):  File "D:\dev\python\ess.py", line 3, in ?    win32pdhutil.ShowAllProcesses()  File "C:\Python24\Lib\site-packages\win32\lib\win32pdhutil.py", line 95, in ShowAllProcesses

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

2006-07-15 Thread Charles BROSSOLLET
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 De: Mark Hammond [mailto:[EMAIL PROTECTED]Date: sam. 15/07/2006 03:00À: Charles BROSSOLLET; 'python-win32'Objet : RE: [python-win32] win32pdh