hi all
i have a question....
i need to get all possible information of a process like
Filename
UID
its icon
imported modules and stuff
but what i really need now is the UID and filename
ive been looking out for some way to get these info but i couldnt b able to find any API or another method to get it
what can i do in this case???
thx
Posted on 2005-07-09 21:37:17 by GR33d
On NT5.* you can use GetProcess* functions.
Posted on 2005-07-09 22:27:19 by ti_mo_n
all those GetProcess* needs hProcess and some get info from the current process ..
and with those calls i guess i wont get the process filename and uid....
and all i have in hands is a Win32 Programmer's Reference... thx n way :)
Posted on 2005-07-09 22:54:20 by GR33d
So then use:

1) CreateToolhelp32Snapshot
2) Process32First / Process32Next
3) GetProcess*
4) CloseHandle

Unfortunately, I have no idea how to get process info on non-NT5.* system.
Posted on 2005-07-09 23:25:25 by ti_mo_n
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/base/psapi_functions.asp
Posted on 2005-07-10 01:13:09 by f0dder
gr3at
thx f0dder
that really should do it  :D
Posted on 2005-07-11 09:33:53 by GR33d