开发者

C++ Can't call tskill inside with system call

开发者 https://www.devze.com 2023-03-20 16:42 出处:网络
I can\'t call taskkill or tskill inside VC++ with system i don\'t know any alternatives, i have trie开发者_Python百科d writing a .bat file and trying calling tskill, that dind\'t work either.

I can't call taskkill or tskill inside VC++ with system i don't know any alternatives, i have trie开发者_Python百科d writing a .bat file and trying calling tskill, that dind't work either.

system("tskill example");
system("dins.bat");

they don't work.

thanks


Use TerminateProcess instead. I also recommend reading this.

0

精彩评论

暂无评论...
验证码 换一张
取 消