D David Jiang Unregistered / Unconfirmed GUEST, unregistred user! 2000-02-21 #1 How to use windows Pipes? Can everyone help me? Thanks.
P Pipi. Unregistered / Unconfirmed GUEST, unregistred user! 2000-02-21 #5 HANDLE hReadPipe, hWritePipe; if(! CreatePipe( &hReadPipe, &hWritePipe, NULL, 0 )) RaiseLastWin32Error(); 在 hWritePipi 写入,hReadPipe 读出
HANDLE hReadPipe, hWritePipe; if(! CreatePipe( &hReadPipe, &hWritePipe, NULL, 0 )) RaiseLastWin32Error(); 在 hWritePipi 写入,hReadPipe 读出
W wwwsys Unregistered / Unconfirmed GUEST, unregistred user! 2000-03-07 #8 以下是我用过的代码,c++ builder ;文件服务器名称+/hsfisv/pipe/encoder PIPE NAME=//hsfisv/pipe/encoder AnsiString PipeName="////hsfisv//pipe//encoder"; tPipe=CreateFile(PipeName.c_str(),GENERIC_WRITE,0,NULL,OPEN_EXISTING,0,NULL); if(tPipe==INVALID_HANDLE_VALUE) return false;
以下是我用过的代码,c++ builder ;文件服务器名称+/hsfisv/pipe/encoder PIPE NAME=//hsfisv/pipe/encoder AnsiString PipeName="////hsfisv//pipe//encoder"; tPipe=CreateFile(PipeName.c_str(),GENERIC_WRITE,0,NULL,OPEN_EXISTING,0,NULL); if(tPipe==INVALID_HANDLE_VALUE) return false;