Delphi线程中关闭程序


本文整理自网络,侵删。

 
作者: Anchep
TerminateProcess(OpenProcess(PROCESS_ALL_ACCESS, false, GetCurrentProcessId()), 0);   //线程中关闭主进程

相关阅读 >>

Delphi中内嵌汇编

Delphi 如何在程序中动态设置墙纸(使用iactivedesktop接口)

Delphi xe system.netencoding 字符串base64编码解码

Delphi cxgrid中回车键光标移到下列

Delphi执行查询语句时的进度条怎么做

Delphi指针的定义和取值

Delphi firedac内存表

Delphi在64位系统下读写注册表

Delphi incyear、incmonth、incweek、incday、inchour、incminute、incsecond、incmillisecond �c 增时

Delphi中bitmap位图与base64字符串相互转换

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...