how to CallNamedPipe
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: how to CallNamedPipe

Hybrid View

  1. #1
    Join Date
    Jul 2013
    Posts
    9

    Post how to CallNamedPipe

    Can any one tell me how can i make use of CallNamedPipe() and what the instances i have to create before using this funtion ...
    Do i need to intitiate anything in the other to connect through this function??

    I am facing this error when i have given the below path in local machine

    path i am using: \\\\inawap03\\pipe\\OpenDwg
    Error:

    \\\\inawap03\\pipe\\OpenDwg
    The Networkpath was not found.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,606

    Re: how to CallNamedPipe

    You could try to use this class of PJ Naughter
    Victor Nijegorodov

  3. #3
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,848

    Re: how to CallNamedPipe

    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,070

    Re: how to CallNamedPipe

    Quote Originally Posted by nini18110 View Post
    Error:

    \\\\inawap03\\pipe\\OpenDwg
    The Networkpath was not found.
    I think the problem is on client side. When the pipe is not created on server side the error is different:
    Code:
    C:\Temp\named_pipe_in_service>pc.exe 192.168.55.236
    Could not open pipe (2)
    
    C:\Temp\named_pipe_in_service>net helpmsg 2
    
    The system cannot find the file specified.
    In your case this is a network path not found, which most probably means the client side is not able to resolve host name to IP address.

    Code:
    C:\Temp\named_pipe_in_service>pc.exe ivartanov-bla-bla
    Could not open pipe (53)
    
    C:\Temp\named_pipe_in_service>net helpmsg 53
    
    The network path was not found.
    Best regards,
    Igor

  5. #5
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,070

    Re: how to CallNamedPipe

    The named pipe sample to play with: named_pipe_in_service_(modified).zip
    Best regards,
    Igor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center