父進程和子進程經過管道通訊

管道的建立 在父進程中建立管道web HANDLE hRead=0; HANDLE hWrite = 0; SECURITY_ATTRIBUTES sa; sa.bInheritHandle = true; sa.nLength = sizeof(sa); sa.lpSecurityDescriptor = 0; if (!CreatePipe(&hRead, &hWrite, &s
相關文章
相關標籤/搜索