- 注册时间
- 2011-3-6
- 最后登录
- 1970-1-1
该用户从未签到
|
易语言版本需求:5.11
详细说明:
修复X64系统下 易语言调试点停止后 进程不会关闭的问题
问题原因:
易语言是使用创建进程来调试的,但是他Terminate掉了进程,需要调用ContinueDebugEvent后才能CloseHandle,但是他并没有Continue就直接CloseHandle了,导致进程无法结束 挂死在那里……………………
以下摘自MSDN:
debug/base/waitfordebugevent.htm
When a CREATE_PROCESS_DEBUG_EVENT occurs, the debugger application receives ahandle to the image file of the process being debugged, a handle to the processbeing debugged, and a handle to the initial thread of the process being debuggedin the DEBUG_EVENT structure. The members these handles are returned inare u.CreateProcessInfo.hFile (image file),u.CreateProcessInfo.hProcess (process), andu.CreateProcessInfo.hThread (initial thread). If the system previouslyreported an EXIT_PROCESS_DEBUG_EVENT debugging event, the system closes thehandles to the process and thread when the debugger calls the ContinueDebugEvent function. Thedebugger should close the handle to the image file by calling the CloseHandle function.
丢支持库到易语言的lib目录,并且支持库配置打钩就行了~
|
|