|
[求助]知道PID 驱动中如何判断进程已经被关闭了呢?
如果该进程ID又被新的进程占用了呢 |
|
|
|
|
|
[讨论]ExitPorcess退出进程时为什么会出错?[我已经简单的搞定了,设置线程SEH再退一次]
看说明: ExitProcess is the prefered method of exiting an application. This API provides a clean application shutdown. This includes calling all attached DLLs at their instance termination entrypoint. If an application terminates by any other method: - TerminateProcess - TerminateThread of last thread in the process - ExitThread of last thread in the process The DLLs that the process is attached to will not be notified of the process termination. After notifying all DLLs of the process termination, this API terminates the current process as if a call to TerminateProcess(GetCurrentProcess()) were made 果然ExitProcess后系统还会在R3做很多事情 |
|
|
|
[讨论]ExitPorcess退出进程时为什么会出错?[我已经简单的搞定了,设置线程SEH再退一次]
哦,呵呵,谢谢! 我以前以为ExitProcess进入内核后就不会出来了。刚才查到点资料,ExitProcess还会通知模块进程准备退出了。 那请问该怎么才能安全的结束啊? |
|
|
|
[讨论]ExitPorcess退出进程时为什么会出错?[我已经简单的搞定了,设置线程SEH再退一次]
恩,按理说调用ExitPorcess后系统应该优雅的结束一个进程了,为什么会这样呢? MS推荐的安全结束进程的方式是什么? |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值