[python-win32] win32pdhutil.ShowAllProcesses() fails
Mark Hammond
mhammond at skippinet.com.au
Sat Jul 15 02:59:32 CEST 2006
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: python-win32-bounces at python.org
[mailto:python-win32-bounces at python.org]On 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4120 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-win32/attachments/20060715/06bce2aa/attachment.bin
More information about the Python-win32
mailing list