How to check if a windows program is running in c
I am writing a windows program that should execute another program (program2) only when program2 is not already running. The only way I know is to check window titles.
Does anyone have code to do that? Or can anyone give a hint?
Thanks in advance!