本文整理自网络,侵删。
uses ShellApi;
ShellExecute(0, 'open', 'cmd.exe', '/k TASKKILL /F /IM delphitop.com.exe', nil, SW_HIDE) ;
相关阅读 >>
Delphi windows 编程[7] - wm_create 消息
Delphi 10 下提示sharedactivitycontext错误的解决方法
Delphi 测试字符串写入类: tstringwriter
Delphi 解决idtcpclient和idtcpserver通信中文乱码问题
Delphi 利用datasnap进行数据流(tstream)的传递
更多相关阅读请进入《Delphi》频道 >>