Running Program/Applications APIs?

Hi all
I am searching for a way/api through which i can get list of Applications as showing by task manager inside Applications tab.

Is there any way?
Thanks in advance.
Last edited on
Morning dude,
I'm not sure if this will help, but here's an "Advanced Task Manager" done in MFC.

http://www.codeproject.com/Articles/12360/Advanced-Task-Manager-in-MFC

All the source code appears to be there as well.
It is very outdated by the looks of it (Win NT/2000), but there might be some useful stuff in the source maybe?
Last edited on
There are winapi functions Process32First() and Process32Next(). This gets the exe names though, like in the Details tab.

I think the Applications tab shows window title bar captions. In that case maybe you can use EnumWindows() and GetWindowText();

http://msdn.microsoft.com/en-us/library/windows/desktop/ms684865%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633497%28v=vs.85%29.aspx
Thanks both of you mutexe and ahcfan.

i did lot of googling on the same. but i found no way to this directly.
but i got a clue that every time you run any application it shows the title bar's caption of running application window.

So i am looking on that.
Thanks again.
Topic archived. No new replies allowed.