🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetExitCodeProcess

#10442
From: Remy Lebeau (TeamB)
Date: Thu, 08 Apr 2004 16:55
11 lines
1241 bytes
"Karsten Becker" <Kars@home.nl> wrote in message
news:4075429c@newsgroups.borland.com...

> In my program i start another application by spawnlp.

Use CreateProcess() instead of spawnl().  It returns both the the process ID
and process handle, then you don't need OpenProcess() anymore.


Gambit
Technical Details
Message-ID: <407584c9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!stdio!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4075429c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9f115a8db4592134
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-08 10:01:24 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4075429c@newsgroups.borland.com>
Subject: Re: GetExitCodeProcess
Date: Thu, 8 Apr 2004 09:55:45 -0700
Lines: 13
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: 67.22.138.253
Message-ID: <407584c9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1081443529 67.22.138.253 (8 Apr 2004 09:58:49 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!stdio!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail