●如何知道一个进程是正常结束还是非正常结束呢??

yjcq 2005-08-12 03:22:09
● 如何知道一个进程是正常结束还是非正常结束呢??
...全文
148 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
ashhyc 2005-08-16
  • 打赏
  • 举报
回复
2楼说了
xwzxwz 2005-08-16
  • 打赏
  • 举报
回复
返回码可以设置
不可能检测程序的退出正常与否
yjcq 2005-08-14
  • 打赏
  • 举报
回复
怎么查看进程的返回代码呀?
Gdlian 2005-08-14
  • 打赏
  • 举报
回复
查看进程的返回代码
yjcq 2005-08-12
  • 打赏
  • 举报
回复
我是要做个安装程序,首先安装mysql,我要判断mysql是否是正常安装完毕的。然后才能进行下一步的安装。
DWORD code;
GetExitCodeProcess( mysqlhandle, code);
GetLastError:
The return value is the calling thread's last-error code value. Functions set this value by calling the SetLastError function. The Return Value section of each reference page notes the conditions under which the function sets the last-error code.
我怎么知道mysql要返回什么呀?

vcmute 2005-08-12
  • 打赏
  • 举报
回复
GetExitCode
GetExitCodeProcess
GetExitCodeThread
看lpExitCode

15,473

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧