From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,41d61b8c6e203808 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Killing a spawned program Date: Wed, 9 Feb 2005 09:29:39 +0100 Organization: cbb software GmbH Message-ID: References: Reply-To: mailbox@dmitry-kazakov.de Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: individual.net UZcoRismuoSUXrqc99g3BAITNSv1OyYaToN5btl2hk5oeby70= User-Agent: 40tude_Dialog/2.0.14.1 Xref: g2news1.google.com comp.lang.ada:8204 Date: 2005-02-09T09:29:39+01:00 List-Id: On Tue, 8 Feb 2005 22:14:44 +0000 (UTC), Richard Lowe wrote: > How, using Gnat and GtkAda, does one kill a non-Ada program which has been > spawned from within an Ada program running under Windows 98SE ? It is not a good idea to kill a process under Windows. Depending on which DLLs and drivers are used by the process being killed, that might compromise the operating system state. However, see: TerminateProcess of Win32 API in MSDN. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de