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. NamedPipe issue

NamedPipe issue

Scheduled Pinned Locked Moved C / C++ / MFC
jsonhelpquestion
4 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.
  • S Offline
    S Offline
    Sunil P V
    wrote on last edited by
    #1

    Hi All, I am facing an issue relating to named pipes. The OS used is Vista. I am creating a named pipe within a service that is running in session zero. A client application tries to read through the pipe by calling api CreateFile. This fails since the client application is running in the user context. Is there any way that this caould be overcome? Should i pass any securtiy attributes to the "CreateNamedPipe" or "CreateFile" apis? Thanks in advance :)

    Sunil

    M 1 Reply Last reply
    0
    • S Sunil P V

      Hi All, I am facing an issue relating to named pipes. The OS used is Vista. I am creating a named pipe within a service that is running in session zero. A client application tries to read through the pipe by calling api CreateFile. This fails since the client application is running in the user context. Is there any way that this caould be overcome? Should i pass any securtiy attributes to the "CreateNamedPipe" or "CreateFile" apis? Thanks in advance :)

      Sunil

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      What error code are you getting? Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      S 1 Reply Last reply
      0
      • M Mark Salsbery

        What error code are you getting? Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        S Offline
        S Offline
        Sunil P V
        wrote on last edited by
        #3

        It gives an error ACCESS_DENIED.

        Sunil

        M 1 Reply Last reply
        0
        • S Sunil P V

          It gives an error ACCESS_DENIED.

          Sunil

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          Any useful info here? Impact of Session 0 Isolation on Services and Drivers in Windows Vista[^] Particularly the namespace on named objects...

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          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