[pywin32-bugs] win32pdhutil.ShowAllProcesses() crashes
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Christopher N. <chr...@gm...> - 2003-07-07 19:38:07
|
Hello,
does anybody know why this crashes???
Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> import win32pdhutil
>>> win32pdhutil.ShowAllProcesses()
Traceback (most recent call last):
File "<pyshell#1>", line 1, in ?
win32pdhutil.ShowAllProcesses()
File
"C:\PROGRA~1\PYTHON22\lib\site-packages\win32\lib\win32pdhutil.py", line
67, in ShowAllProcesses
items, instances = win32pdh.EnumObjectItems(None,None,object,
win32pdh.PERF_DETAIL_WIZARD)
error: (-1073738824, 'EnumObjectItems for buffer size', 'No error
message is available')
system: WinXP
win32all version: 1.5
Python version: 2.2.2
cu
Chris
|