April 7th, 2010, 01:03 AM
#1
Creating NamedPipes
Hello Everybody,
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.
Shiva..
Tags for this Thread
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width
Bookmarks