comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Killing a spawned program
Date: Wed, 9 Feb 2005 09:29:39 +0100
Date: 2005-02-09T09:29:39+01:00	[thread overview]
Message-ID: <jrxr0jfg3qaq$.dbrudynly48g.dlg@40tude.net> (raw)
In-Reply-To: cubdkj$5i5$1@hercules.btinternet.com

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



      parent reply	other threads:[~2005-02-09  8:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-08 22:14 Killing a spawned program Richard Lowe
2005-02-08 23:24 ` Larry Kilgallen
2005-02-09  8:29 ` Dmitry A. Kazakov [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox