CProProcess::InitProProcess(_T("safeProcessDemo"));
cout << "Enter 'q' to exit:" << endl;
while ((_getch() != 'q') && (_getch() != 'Q'))
{
}
调试 有窗口 等待输出 启动不了进程
窗口隐藏 就可以启动了
CProProcess::InitProProcess(_T("safeProcessDemo"));
cout << "Enter 'q' to exit:" << endl;
while ((_getch() != 'q') && (_getch() != 'Q'))
{
}
调试 有窗口 等待输出 启动不了进程
窗口隐藏 就可以启动了