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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,33f90678fd18cbc7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.38.134 with SMTP id g6mr5034312pbk.6.1318985474248; Tue, 18 Oct 2011 17:51:14 -0700 (PDT) Path: d5ni29703pbc.0!nntp.google.com!news2.google.com!postnews.google.com!e37g2000yqa.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: What is the best way to get a process-list with Ada? Date: Tue, 18 Oct 2011 17:49:54 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8e1ebb1c-974b-4baf-9921-cd83cce2c083@e37g2000yqa.googlegroups.com> References: <2cb6641e-dcd7-40de-95bd-71d405571631@p1g2000yqk.googlegroups.com> <20111017113343.7b873960@c-01b> NNTP-Posting-Host: 24.230.151.194 Mime-Version: 1.0 X-Trace: posting.google.com 1318985474 6850 127.0.0.1 (19 Oct 2011 00:51:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 19 Oct 2011 00:51:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e37g2000yqa.googlegroups.com; posting-host=24.230.151.194; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1,gzip(gfe) Xref: news2.google.com comp.lang.ada:14070 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-10-18T17:49:54-07:00 List-Id: On Oct 17, 4:33=A0am, Oliver Kleinke wrote: > You can use Ada an Java together with either jGNAT (Ada and Java run on > the JVM)[1] and/or GNAT-AJIS (Java on JVM, Ada compiled natively)[2]. > Be aware that jGNAT is not compatible with Java Versions > 1.5 (to my > knowledge). It is very possible to make OS-portable software > without Java. > > -- > [1] -http://ada.cx/PKV > [2] -http://ada.cx/kDK > > > > > > > > > Shark8 writes: > > >I got into a bit of a debate with a friend who said something to the > > >effect that to write drivers one needed to use C/C++... anyway, he > > >was irritated about not being able to use Java (which he's sort of > > >been forced to use in this instance) to 1) get a process list, and > > >2) get window dimensions of a focused-window. > > > >I was wondering how those of you who have had experience in all three > > >systems would approach it. > > > >(BTW; Linux, Mac, and Windows for #1 & #2, which is the reason they > > >had for making the project Java, I certainly don't have enough > > >experience w/ Mac and Linux to say much about them.) Thank you for pointing me at the J-GNAT; I have played with it a little, about a year and a half ago... but it seemed a bit quirky, maybe because of how I was (ab)using it.