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. InterProcess communication questions

InterProcess communication questions

Scheduled Pinned Locked Moved C / C++ / MFC
3 Posts 2 Posters 1 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.
  • F Offline
    F Offline
    ForNow
    wrote on last edited by
    #1

    Hi If Do a CreateProcess with bInheritHandles set to true and I create a event with name/string in the Parent Process In the Child I do a OpenEvent Do I still have to do a DuplicateHandle to have access to the event handle

    F 1 Reply Last reply
    0
    • F ForNow

      Hi If Do a CreateProcess with bInheritHandles set to true and I create a event with name/string in the Parent Process In the Child I do a OpenEvent Do I still have to do a DuplicateHandle to have access to the event handle

      F Offline
      F Offline
      Frankie C
      wrote on last edited by
      #2

      No you don't need to duplicate handle if you have enabled inheritance int the CreateEvent of parent process setting lpEventAttributes parameter. You need a duplicated handle if the event is created in the child process. For detailed info see[^].

      F 1 Reply Last reply
      0
      • F Frankie C

        No you don't need to duplicate handle if you have enabled inheritance int the CreateEvent of parent process setting lpEventAttributes parameter. You need a duplicated handle if the event is created in the child process. For detailed info see[^].

        F Offline
        F Offline
        ForNow
        wrote on last edited by
        #3

        thanks so much

        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