Article View: borland.public.cppbuilder.nativeapi
Article #3977Re: OpenProcess() returns different handles
From: Wiebe Vos
Date: Mon, 10 Apr 2006 18:40
Date: Mon, 10 Apr 2006 18:40
16 lines
1431 bytes
1431 bytes
Hi Bob, > The hProcess member of the PROCESS_INFORMATION structure you passed to CreateProcess() should give you that handle. Correct. However thereafter the launched app is bound to be terminated and/or "replaced". > ...why you ask for the handle to be inheritable (true)? No specific reason. Taken from an example. As indicated in my earlier response, I managed to find a solution. Thanks for your help, Wiebe
Technical Details
Message-ID:
<443aa6ac$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<44397058@newsgroups.borland.com> <443974ee$1@newsgroups.borland.com> <443a1485$1@newsgroups.borland.com> <ri0l32h5ugssjue5e4cs11c4tc1nc40thn@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8a9918c2e9877ca0 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Wiebe Vos" <wiebe@foxware.nl> Newsgroups: borland.public.cppbuilder.nativeapi References: <44397058@newsgroups.borland.com> <443974ee$1@newsgroups.borland.com> <443a1485$1@newsgroups.borland.com> <ri0l32h5ugssjue5e4cs11c4tc1nc40thn@4ax.com> Subject: Re: OpenProcess() returns different handles Date: Mon, 10 Apr 2006 20:40:38 +0200 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 62.131.171.202 Message-ID: <443aa6ac$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1144694444 62.131.171.202 (10 Apr 2006 11:40:44 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail