🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Terminate Process started by CreateProcess

#4081
From: Binzhong Zhou
Date: Tue, 28 Mar 2006 04:12
8 lines
1222 bytes
Could some one tell how I can safely terminate an application started by 
CreateProcess? I want to kill all the processes started from my application 
before I exit my application. When you kill the process, it may still work, 
say play a movie or song. Based on the help, TerminateProcess is  obviously 
not recommanded. What is alternative?

Thanks,
        Binzhong 
Technical Details
Message-ID: <4428b7bf$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,28ca43e529050a9d,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Binzhong Zhou" <Binzhong.Zhou@csiro.au>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Terminate Process started by CreateProcess
Date: Tue, 28 Mar 2006 14:12:48 +1000
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 140.253.20.110
Message-ID: <4428b7bf$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1143519167 140.253.20.110 (27 Mar 2006 20:12:47 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail