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?
like taskmanager, when i'm logged in as administrator!
how can i do that?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
almost forgot, You Need to add
TLHelp32
to your uses clause
TLHelp32
to your uses clause
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!
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!
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