Ah, now I just found after searching for "CreateToolhelp32Snapshot"
http://sourceforge.net/mailarchive/message.php?msg_id=8291643

Thanks Gabriel,
Ray

At 07:46 PM 7/12/2005, Gabriel Genellina wrote:
>At Tuesday 12/7/2005 14:04, Ray Schumacher wrote:
>
>>I had looked over the methods to list/kill processes on Win32, and could not 
>>(yet) find a "pure" Python way to do it that works on 9x, since I could not 
>>get win32pdhutil to work on 98.
>>So, I combined subprocess.py and pv.exe from
>>http://www.xmlsp.com/pview/PrcView.zip
>>and wrote a quick app to kill unauthorized process and compiled with py2exe.
>>
>>Does anyone have a way to list/kill without the external process that works 
>>in all 9x and XP?
>
>PDH will work for NT, 2000 and up. For Win95/98 you can enumerate processes 
>using ToolHelp32: http://support.microsoft.com/kb/q175030/
>
>
>Gabriel Genellina
>Softlab SRL 

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

Reply via email to