April 7th, 2010, 02:03 AM
I have a Win32 Server Program which creates many pipes.I know that, name of the pipe will be having a standard format and cannot be changed.Pipe name creation will be as follows,
LPTSTR lpszPipename = TEXT(\\\\.\\pipe\\SamplePipe);
hPipe = CreateNamedPipe(lpszPipename, PIPE_ACCESS_DUPLEX,PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES,BUFSIZE, BUFSIZE,0,NULL);
Now my question is, can we create a named pipe dynamically, means creating a pipe during run time.
Hope my qustion is somewhat clear.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!