等待子进程退出的问题 CreateProcess创建子进程,WaitForSingleObject等待子进程退出,都没问题现在情况是子进程可能又启动了其他进程,我需要等所有子进程退出后WaitForSingleObject才返回,该怎么处理? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 让子进程也WaitForSingleObject等待它的子进程退出 道理一样吧,子进程也要用WaitForSingleObject等待子子进程初始化结束 最标准的方法:使用作业(Job)对象。http://msdn.microsoft.com/en-us/library/windows/desktop/ms684161(v=vs.85).aspxhttp://msdn.microsoft.com/en-us/library/windows/desktop/ms684847(v=vs.85).aspx#job_object_functionsWindows系统中使用“作业”来管理一组相关进程。A job object allows groups of processes to be managed as a unit. Job objects are namable, securable, shareable objects that control attributes of the processes associated with them. Operations performed on a job object affect all processes associated with the job object. Examples include enforcing limits such as working set size and process priority or terminating all processes associated with a job. 关于单机版程序后台数据库的问题..希望知道的给个解答 帮帮忙关于indy的下载整个目录 又得麻烦大家了,这样的数据库怎么导入? 请各位高手帮忙 toolbar的按钮问题? DELPHI7 DBEDIT 截断字符串(70给一人,其余大家分) 麻烦大家说两句,明天再送200分! 请问property是什么类型~~~ 怎么用程序来修改恶意网站的连接? 在整数转换到指定长度的字符的时候,如何将不齐长度的前面加0? delphi 中引用不了unit中的类 delphi 调用动态窗体DLL 出错问题 急。。在线等
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684847(v=vs.85).aspx#job_object_functionsWindows系统中使用“作业”来管理一组相关进程。A job object allows groups of processes to be managed as a unit. Job objects are namable, securable, shareable objects that control attributes of the processes associated with them. Operations performed on a job object affect all processes associated with the job object. Examples include enforcing limits such as working set size and process priority or terminating all processes associated with a job.