CodePudding user response:
Regularly use timer;Using FindWindow API function to check whether the program to run;
The shell to run the program
SendMessage send password
Probably thinking is such
CodePudding user response:
Mandatory to run! What you mean, the virus? If there is a virus behavior, is to be blocked by antivirus software, if it is normal procedure, you can write a service program, by the service program testing, the principle can be according to the process to create a snapshot to test whether the process exists, does not exist is run, creating process CreateToolhelpSnapshot snapshot API functions,