View Single Post
  #1 (permalink)  
Old December 17th, 2003, 01:49 PM
beardje2000 beardje2000 is offline
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to check if a windows program is running in c

Hi,

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!