Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CreateNamedPipe

CreateNamedPipe

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hph
    wrote on last edited by
    #1

    Hello, i have a little problem with the interpretation of CreateNamedPipe(...) what exactly is the difference between the dwOpenMode flag FILE_FLAG_OVERLAPPED and the dwPipeMode flag PIPE_WAIT, and which of those is used if both are specified? Thanks in advance!!

    D 1 Reply Last reply
    0
    • H hph

      Hello, i have a little problem with the interpretation of CreateNamedPipe(...) what exactly is the difference between the dwOpenMode flag FILE_FLAG_OVERLAPPED and the dwPipeMode flag PIPE_WAIT, and which of those is used if both are specified? Thanks in advance!!

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      hph wrote: what exactly is the difference between the dwOpenMode flag FILE_FLAG_OVERLAPPED and the dwPipeMode flag PIPE_WAIT... One relates to the calling thread, while the other relates to the pipe itself.


      "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

      H 1 Reply Last reply
      0
      • D David Crow

        hph wrote: what exactly is the difference between the dwOpenMode flag FILE_FLAG_OVERLAPPED and the dwPipeMode flag PIPE_WAIT... One relates to the calling thread, while the other relates to the pipe itself.


        "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

        H Offline
        H Offline
        hph
        wrote on last edited by
        #3

        ok, thanks! and what does this mean ?

        D 1 Reply Last reply
        0
        • H hph

          ok, thanks! and what does this mean ?

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          See if these two help:* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/createnamedpipe.asp

          • http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/named\_pipe\_type\_read\_and\_wait\_modes.asp


            "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

          H 1 Reply Last reply
          0
          • D David Crow

            See if these two help:* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/createnamedpipe.asp

            • http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipc/base/named\_pipe\_type\_read\_and\_wait\_modes.asp


              "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

            H Offline
            H Offline
            hph
            wrote on last edited by
            #5

            yes it helped, thank you, i got it!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups