P
patricerolland
hi all, how can i detect that a pipe is frozen in c++ ? I mean if for
example the application that receives the pipe has a problem ? my code
belowed :
if (! CreatePipe(&hChildStdinRd, &poempdev->hChildStdinWr, &saAttr,
0))
ERR(ERRORTEXT("Error %d :Stdin pipe creation failed.\r
\n"),GetLastError());
if (!WriteFile(poempdev->hChildStdinWr, szBuf, cbBuffer, &poempdev-
tks in advance
Patrice Rolland
example the application that receives the pipe has a problem ? my code
belowed :
if (! CreatePipe(&hChildStdinRd, &poempdev->hChildStdinWr, &saAttr,
0))
ERR(ERRORTEXT("Error %d :Stdin pipe creation failed.\r
\n"),GetLastError());
if (!WriteFile(poempdev->hChildStdinWr, szBuf, cbBuffer, &poempdev-
dwResult, NULL))
tks in advance
Patrice Rolland