asking for parentprocess

Discussion in 'C++' started by Beate Mielke, Feb 11, 2005.

  1. Beate Mielke

    Beate Mielke Guest

    Hello,

    I have a Consoleprogram, which calls another program using
    CreateProcess(..., NEW_CONSOLE, ...).
    The childprocess can also run standalone.

    I'm looking for a command, which tells me whether the childprogram runs
    standalone or was created by a parentprocess.

    Thanks in advance

    Beate
     
    Beate Mielke, Feb 11, 2005
    #1
    1. Advertising

  2. Beate Mielke wrote:
    > I have a Consoleprogram, which calls another program using
    > CreateProcess(..., NEW_CONSOLE, ...).
    > The childprocess can also run standalone.
    >
    > I'm looking for a command, which tells me whether the childprogram runs
    > standalone or was created by a parentprocess.


    (a) These things are off-topic here, they are non-standard, they exist
    only on your platform, ask in a platform-specific newsgroup.

    (b) One simple way to let the child know is to pass some specific
    command-line argument to it indicate that another process created it.

    V
     
    Victor Bazarov, Feb 11, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ronald Colijn
    Replies:
    1
    Views:
    546
    Martin Eklund
    Nov 27, 2003
  2. walala
    Replies:
    2
    Views:
    1,074
    walala
    Sep 13, 2003
  3. J. Miller

    response redirect without asking

    J. Miller, Jul 9, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    416
    J. Miller
    Jul 9, 2003
  4. RDavid

    Almost beginner asking for info

    RDavid, Jan 28, 2004, in forum: ASP .Net
    Replies:
    6
    Views:
    313
    JiangZemin
    Jan 29, 2004
  5. Fabricio Sperandio

    Word is asking for the ASPNET user initials!!!

    Fabricio Sperandio, Feb 24, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    329
    Martin Dechev
    Feb 24, 2004
Loading...

Share This Page