🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10810

Re: CreateProcess question

#10810
From: Mortz
Date: Tue, 16 Mar 2004 18:23
19 lines
1689 bytes
> When WaitForSingleObject() returns without any more timeouts, the process
> that is being waited on has been fully terminated.  If the documents are
> remaining open, then either the spawned process is not closing them
itself,
> or it is not the actual process that loads them to begin with.

I apologyze..., English is not my first language...

What I ment was that the user may decide to close my program but leave the
spawned documents open, so would it be correct to close the handles even if
the programs will remain open?

If so, would that mean that the retrieved handles only relate to the open
process but belong to the spawning application? or would the proceses become
handle-orphans?

Thanks for your help...

<MortZ>
Technical Details
Message-ID: <40574531$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <405734e0@newsgroups.borland.com> <40573b91$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2505b8cff121ddb
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-03-16 10:28:01 PST
Reply-To: "Mortz" <rmorteo@hotmail.com>
From: "Mortz" <rmorteo@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <405734e0@newsgroups.borland.com> <40573b91$1@newsgroups.borland.com>
Subject: Re: CreateProcess question
Date: Tue, 16 Mar 2004 10:23:33 -0800
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.38.16.98
Message-ID: <40574531$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1079461169 200.38.16.98 (16 Mar 2004 10:19:29 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail