Problems with named pipes

  • Thread starter Thread starter mikes1962
  • Start date Start date
M

mikes1962

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
 
mikes1962 said:
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.

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
 
Back
Top