🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: terminate process

#9383
From: Andrue Cope [TeamB]
Date: Fri, 09 Jul 2004 11:05
16 lines
1329 bytes
Fatih Keles wrote:

> TerminateProcess looks for handle.. and i couldnt find any suitable
> function for that..
> how can i do that?

Switch over to using the API function to create the child process:
CreateProcess(). This returns process information. TBH there are dozens
of ways of starting a child process and looking at the documentation
for CreateProcess() there may be one that is simpler but still suits
your purposes.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <40ee7c0f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40ee7548@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a8116093e8c4a4bc
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@spammy.com>
Subject: Re: terminate process
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40ee7548@newsgroups.borland.com>
User-Agent: XanaNews/1.16.3.1
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <40ee7c0f$1@newsgroups.borland.com>
Date: 9 Jul 2004 04:05:51 -0700
X-Trace: newsgroups.borland.com 1089371151 217.207.223.34 (9 Jul 2004 04:05:51 -0700)
Lines: 16
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail