Link to home
Start Free TrialLog in
Avatar of siwi
siwi

asked on

how can i get all running processes of all users

i want to get all running processes of all users in windows xp, not only the processes of the current user.
like taskmanager, when i'm logged in as administrator!
how can i do that?
Avatar of asymmetric
asymmetric

The EnumProcesses, OpenProcess, EnumProcessModules and GetModuleBaseName functions

You can find a wrapper for this api at www.delphi-jedi.org

direct link : ftp://delphi-jedi.org/api/win32api.zip

Documentation on EnumProcesses :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/enumprocesses.asp
ASKER CERTIFIED SOLUTION
Avatar of Member_2_248744
Member_2_248744
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
almost forgot,  You Need to add

TLHelp32

to your uses clause
Avatar of siwi

ASKER

Thank you very much, Slick812 and asymmetric!

Slick, your answer was exactly what i was looking for, so i give you the points.
asymmetric, i didn't understand all that winapi-things, it's to complicated for me at this time.
but i think for future use, it's a great source for me!

thank you!