I need to get the names of all the applications running in the
device like in windows task manager. The processes runing in the device
can be captured using toolhelp functions. What are the functions that
can be used to get the applications data .
any idea
Thank you..

how to get the names of all applications running in the device
svxtc
What are applications in your opinion and how they are different from processes As soon as you answer that question (to yourself) it would be very easy for you to filter out “processes” processes from application “processes”.
christine21
Simply I need to display ONLY apps what are displaying in classic Window Mobile Task Manager
Stryfe
Thanks for replying
This is not what i am looking for
in the task manager there are two tabs for Applications, and Processes.
I want to get the names of applications( tasks) not the names of processes..
I am familiar with those all functions in toolhelp.
toolhelp does not support to get the names of the applications...
Thanks v much
Mahesh
Furtive Networks
I am not aware of any managed API that can do this task. For native APIs you can p/invoke to toolhelp as you mentioned.
Roughly you would call CreateToolhelp32Snapshot to get the snapshot handle, then call Process32First and Process32Next to enumerate through the processes. For each process you get a PROCESSENTRY32 structure filled in which has a member szExeFile you can look at.
MSDN toolhelp link: http://msdn2.microsoft.com/en-us/library/aa450774.aspx
-Noah Falk
.Net Compact Framework
Exploder
Take a look at this old article of mine:
http://msdn2.microsoft.com/en-us/library/aa446560.aspx
MrOctree
Scott McKeown
Amde
That tab simply shows top level active windows. If application does not have a top level window or it’s hidden or has no name it won’t be shown. If application has several top level active windows they all will be shown. If that’s what you want simply enumerate windows (search if you don’t know how).