I would like to create a program that performs a certain function when a specified program is opened. How can I detect when that program starts running?
hmm you can poll on a regular basis with CreateMutex I guess.
or even a FindWindow.
it will depend on the application.