how can i write a c++ program that opens , close or stop a specific program or application on windows
also i want this program to be autoplay
thank you
You could use TerminateProcess to stop a program and ShellExecute to start a program. I don't know about autoplay