现在的位置: 首页 > 综合 > 正文

如何创建一个子进程并分离出去运行

2013年08月09日 ⁄ 综合 ⁄ 共 120字 ⁄ 字号 评论关闭

PROCESS_INFORMATION pi;

BOOL fSuccess = CreateProcess(...,&pi);

if(fSuccess)

{

CloseHandle(pi.hThread);

CloseHandle(pi.Process);

}

抱歉!评论已关闭.