How to have my program find another program?

Greetings! I'm very new to C++, and I for the life of me cannot figure out how to get this to work.

Task: I'm writing a program to be run on a Windows environment which I need to, every 10 seconds, check to see if another specific program is running.

Problem: I don't know how to make a program do that.

I know there's a way to make a program poll the system to get a list of programs running (as displayed in taskmanager), and that's really all I need to do. It's the key to this program; everything else rests on that. Once I've got the list, I can make everything else work.

Any pointers would be greatly appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!