EnumProcess() will do this also.

as well as WMIKill(), FindProc, EndProc()
_________________________
How to ask questions the smart way <-----------> Before you ask