Hi
I want to count specific title in process . for example when I run twice calc.exe
in my system and then run my c++ program I show calc.exe (or specific file name)
is run twice
Thanks
For Linux and UNIX, the method is quite different. Linux creates an entry in the directory /proc for every process currently running, from which you can inquire about the details with various API, but the basic usage pattern is like listing a directory.
While the following link is about enumerating windows, the way to enumerate processes uses a near-identical structure. You can use it as a basis for code to get all the processes (and process names) currently active, if you wish. http://www.cplusplus.com/forum/general/170775/#msg851518