🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to terminate another program from my application?

#1441
From: Michel Corbin
Date: Sun, 26 Aug 2007 20:14
10 lines
1225 bytes
Hi!

    HANDLE hd=GetCurrentProcess() ;

Bashar Termanini wrote :
> how can I get the handle of the running program?
> 
> I only know hi name "123.exe"
> 
> 
Technical Details
Message-ID: <46d1deff@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46d17858@newsgroups.borland.com> <46d19c99$1@newsgroups.borland.com> <46d1dde9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ea27fed4f668a6eb
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 26 Aug 2007 22:14:32 +0200
From: Michel Corbin <"Michel Corbin">
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to terminate another program from my application?
References: <46d17858@newsgroups.borland.com> <46d19c99$1@newsgroups.borland.com> <46d1dde9@newsgroups.borland.com>
In-Reply-To: <46d1dde9@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 77.194.171.26
Message-ID: <46d1deff@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1188159231 77.194.171.26 (26 Aug 2007 13:13:51 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail