Groups | Blog | Home
all groups > dotnet general > july 2007 >

dotnet general : Problems with named pipes


mikes1962
7/31/2007 3:47:05 PM
I'm not sure this is the correct group but at least is is a start. I'm
trying to use a named pipe to
communicate between 2 processes on 2 networked computers. I can create
the pipe on the server side
with no problems. However the CreateFile call fails. The pipe name is
"message_traffic" the server computer name is "mslsim" and the the
file name I am using is "\\mslsim\pipe\message_traffic". Everthing
I've read so far would indicate that this should not be a problem If
anyone has any suggestions I would appreciate it.

Thanks

Mike
William DePalo [MVP VC++]
7/31/2007 6:59:32 PM
[quoted text, click to view]

Questions anout the native Win32 API ought to be posted in

microsoft.public.win32.programmer.kernel

That said, if you are using a string literal in C or C++ you must double up
on the back slashes. What does GetLastError() return?

Regards,
Will

AddThis Social Bookmark Button