comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <onewingedshark@gmail.com>
Subject: Re: What is the best way to get a process-list with Ada?
Date: Tue, 18 Oct 2011 17:47:20 -0700 (PDT)
Date: 2011-10-18T17:47:20-07:00	[thread overview]
Message-ID: <78235f5a-ec55-4bbc-a9a3-78d661e60f3e@e4g2000vbw.googlegroups.com> (raw)
In-Reply-To: j7fotd$2qn7$1@news.ett.com.ua

On Oct 16, 6:21 pm, a...@att.net wrote:
> Writing drivers are easy in any language except those which are
> interrupted like JAVA.
>
> For "Java" you can bind like in Ada a small imported code that is
> wriiten in Assembly, C or any other compiled language. That would
> give you the way to include functions that he desires.
>
> To use Ada for this type you must compile use the technique of
> no system. Ada specification will export the function. And a
> small java file will import the Ada function.
>
> Its was back in the 1990's the last time I use native code with Java
> so this link might help:
>
>   "Java Tip 23: Write native methods - JavaWorld"
>  http://www.javaworld.com/javaworld/javatips/jw-javatip23.html
>
> As for the actually routines just google for an example.
>
> In <2cb6641e-dcd7-40de-95bd-71d405571...@p1g2000yqk.googlegroups.com>, Shark8 <onewingedsh...@gmail.com> 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 that pointer.



  parent reply	other threads:[~2011-10-19  0:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-16 21:10 What is the best way to get a process-list with Ada? Shark8
2011-10-16 23:21 ` anon
2011-10-17  9:33   ` Oliver Kleinke
2011-10-19  0:49     ` Shark8
2011-10-19  0:47   ` Shark8 [this message]
2011-10-17  1:08 ` John B. Matthews
2011-10-18 11:21 ` Stephen Leake
replies disabled

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