随笔-43  评论-2  文章-6  trackbacks-0
CreateProcess(m_path, NULL, NULL,NULL, FALSE, NULL,NULL, NULL,&si,&pi);
第5个参数为FAUSE表示不继承调用进程的句柄。
bInheritHandles
[in] Indicates whether the new process inherits handles from the calling process. If TRUE, each inheritable open handle in the calling process is inherited by the new process. Inherited handles have the same value and access privileges as the original handles.
posted on 2012-12-11 11:20 寻步 阅读(300) 评论(0)  编辑 收藏 引用 所属分类: MFC

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理