[python-win32] list/kill processes on Win9x and NT+...

Gabriel Genellina gagenellina at softlab.com.ar
Wed Jul 13 06:52:04 CEST 2005


At Wednesday 13/7/2005 00:30, RayS wrote:

>Ah, now I just found after searching for "CreateToolhelp32Snapshot"
>http://sourceforge.net/mailarchive/message.php?msg_id=8291643
> >>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/

If you eventually craft a function for enumerating all processes which 
works on all platforms, would be nice if you could post it here...


Gabriel Genellina
Softlab SRL 



More information about the Python-win32 mailing list