I'm afraid I can't help much.  It looks like the API function is failing
with PDH_CSTATUS_NO_OBJECT.  A quick google for this shows a win2k related
knowledge-base article, but nothing specific to Windows XP - but hopefully
knowing the exact error code being returned by PDH is useful.
 
Cheers,
 
Mark
 
 -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles BROSSOLLET
Sent: Saturday, 15 July 2006 3:16 AM
To: python-win32
Subject: [python-win32] win32pdhutil.ShowAllProcesses() fails



Hello,
 
I cannot manage to use the ShowAllProcesses() function, it returns the
following error :
 
>>> win32pdhutil.ShowAllProcesses()
Traceback (most recent call last):
  File "<input>", line 1, in ?
  File "C:\Python24\Lib\site-packages\win32\lib\win32pdhutil.py", line 95,
in ShowAllProcesses
    items, instances = win32pdh.EnumObjectItems(None,None,object,
win32pdh.PERF_DETAIL_WIZARD)
error: (-1073738824, 'EnumObjectItems for buffer size', 'No error message is
available')

I'm using ActivePython 2.4.3 with win32all build 208, on WinXP SP2.
 
Thanks in advance for your support!
 
Charles Brossollet

<<attachment: winmail.dat>>

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to