comp.lang.ada
 help / color / mirror / Atom feed
From: Pablo <pablittto@gmail.com>
Subject: Re: kill a process
Date: Tue, 22 Sep 2009 11:43:47 -0700 (PDT)
Date: 2009-09-22T11:43:47-07:00	[thread overview]
Message-ID: <de7b4cc6-5f94-42cb-9a34-3f0e020f3f7b@m20g2000vbp.googlegroups.com> (raw)
In-Reply-To: h9936m$ppc$1@aioe.org

On 21 set, 20:45, tmo...@acm.org wrote:
> >How can I kill a Windows process in Ada?
>
>   type Process_Handles is new Interfaces.C.Unsigned;
>   type Exit_Codes is new Interfaces.C.Unsigned;
>   type Bool is new Interfaces.C.Int;
>
>   function TerminateProcess(Process   : Process_Handles;
>                             Exit_Code : Exit_Codes) return Bool;
>   pragma Import(StdCall, TerminateProcess, "TerminateProcess");

Thanks!!
Now do you know how can I start two non-exiting Windows process in
paralell ? (something like command "&" in unix...)



  reply	other threads:[~2009-09-22 18:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21 19:53 kill a process Pablo
2009-09-21 23:45 ` tmoran
2009-09-22 18:43   ` Pablo [this message]
2009-09-22 19:48     ` Gautier write-only
2009-09-23 14:02       ` Pablo
2009-09-22 21:45     ` tmoran
replies disabled

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