Re: Killing a spawned program

From: Dmitry A. Kazakov (mailbox_at_dmitry-kazakov.de)
Date: 02/09/05


Date: Wed, 9 Feb 2005 09:29:39 +0100

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


Relevant Pages

  • Re: Windows program category
    ... GUI apps have windows the user interacts with. ... Device drivers run in the kernel. ... DLLs are libraries that are loaded at runtime. ... Device Drivers, books on Shell Programming, books on general DLL ...
    (microsoft.public.vc.mfc)
  • RE: IO-APIC on nforce2 [PATCH] + [PATCH] for nmi_debug=1 + [PATCH] for idle=C1halt, 2.6.5
    ... > I also recollect that Windows had lockups with nforce2 for a while ... Windows nForce IDE drivers that would cause lockups during boot for some ... people depending on what type of devices were attached. ...
    (Linux-Kernel)
  • Re: Creating a driver that can execute commands during bootup
    ... but your choices are C and a limited set of C++ for drivers. ... Depending on what you want to do you might also look at a native application ... Windows Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: Computer internet question
    ... depending on the version of windows you have, it will do it for you, ho w ... > will read what the hardware is so I can search for the correct drivers? ...
    (rec.gambling.poker)
  • Re: Computer Freezing
    ... There are some known unresolved issues with Catalyst 7.7 with Windows ... does seem like everytime my computer freezes I get this atimtag CRT ... one connected via USB but I never installed the drivers or used it. ... to install all my programming applications (VS, DirectX SDK, V ...
    (microsoft.public.windowsxp.hardware)