Ok if the user clicks yes then i want to display all the processes which is not responding.
How to do that?
If the user press No than i can use the system api in which i will use the command taskkill to kill the process.
It is very complicated do to in C++, I haven't
done that in C++ (I used C# classes and invoked a property
inside an if-statement which give me true/false which helped
me determine which process where NOT reponding and then
include them to the list view control component).
There are some articles that might help, in theory you might think
about a Task Manager in C++:
http://www.experts-exchange.com/Programming/Misc/Q_21591105.html
http://www.rohitab.com/discuss/index.php?showtopic=29153
Look at those examples, and see if you find anything that fits your needs.
Check this as well, about new API:
http://blogs.msdn.com/b/dixi/archive/2008/11/19/vista-application-recovery-and-restart-apis.aspx
Itknowledge24.com
