开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜