Article View: borland.public.cppbuilder.nativeapi
Article #1439Re: How to terminate another program from my application?
From: Ed Mulroy [TeamB]
Date: Sun, 26 Aug 2007 15:30
Date: Sun, 26 Aug 2007 15:30
14 lines
1528 bytes
1528 bytes
The Windows API function TerminateProcess can do that. It is a dangerous thing to use as it can leave DLLs and other things in memory and in an odd state. Look at the notes for it in the help file. . Ed > Bashar Termanini wrote in message > news:46d17858@newsgroups.borland.com... > > How to terminate another program from my application? > > The other program has no window (no title) I only no his name like > 123.exe
Technical Details
Message-ID:
<46d19c99$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46d17858@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 From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <46d17858@newsgroups.borland.com> Subject: Re: How to terminate another program from my application? Date: Sun, 26 Aug 2007 11:30:31 -0400 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 66.57.114.44 Message-ID: <46d19c99$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1188142233 66.57.114.44 (26 Aug 2007 08:30:33 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail