Thread: Passing a handle between processes

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    205

    Passing a handle between processes

    Hi,
    I am researching if it is possible to pass a handle to the serial port to another process. If I have process A that opened a handle to the serial port and then process A forks a new process B (If even possible) by calling an execultable on the hardrive. Can process A pass the handle as a command line argument to process B or maybe put the address in the registry where process B can access it. Thanks
    Amish

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    See answer on CodeGuru

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  2. Direct3D problem
    By cboard_member in forum Game Programming
    Replies: 10
    Last Post: 04-09-2006, 03:36 AM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  4. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM
  5. Getting window handle from processes ID?
    By no-one in forum Windows Programming
    Replies: 4
    Last Post: 04-28-2002, 01:04 PM