Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > asking for parentprocess

Reply
Thread Tools

asking for parentprocess

 
 
Beate Mielke
Guest
Posts: n/a
 
      02-11-2005
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


 
Reply With Quote
 
 
 
 
Victor Bazarov
Guest
Posts: n/a
 
      02-11-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get rid of popup asking for user ID and password =?Utf-8?B?Q3lu?= Wireless Networking 1 02-08-2005 04:32 AM
Firefox as Default (keeps asking!) Dennis J. Tuchler Firefox 2 01-18-2005 03:34 AM
Asking to download links instead of taking me to them. Gary Walker Firefox 3 12-25-2004 12:24 PM
VS.NET removes "Runat=Server" without asking??? Ronald Colijn ASP .Net 1 11-27-2003 09:01 AM
NEWBIE ASKING FOR HELP! can anybody take a look at my Synopsys DC report? walala VHDL 2 09-13-2003 04:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57