From: richtmp <richtmp@res.raytheon.com>
Subject: Re: Setting up a Java Callback to Ada
Date: Wed, 23 Jan 2002 16:04:55 -0500
Date: 2002-01-23T16:04:55-05:00 [thread overview]
Message-ID: <3C4F2577.DA0597FD@res.raytheon.com> (raw)
In-Reply-To: ud702b5dx.fsf@gsfc.nasa.gov
If somebody would send out an example of Java and Ada together,
it would be greatly appreciated.
Thanks,
Peter
Stephen Leake wrote:
> "Marc A. Criley" <mcqada95@earthlink.net> writes:
>
> > Jim Rogers wrote:
> > >
> << snip >>
> > >
> >
> > Jim is correct here. As an exercise a couple years ago I did in fact
> > have Java call an Ada subprogram via JNI. It worked, but I had to have
> > the C wrapper, and also additional (native) C functions to call adainit
> > and adafinal.
>
> But you can export Ada fuctions with convention C, and call adainit
> and adafinal from an Ada subprogram; just don't assume adainit has been
> called yet in that subprogram!. That's sort of writing in Ada :).
>
> --
> -- Stephe
next prev parent reply other threads:[~2002-01-23 21:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-18 18:11 Setting up a Java Callback to Ada Kevin Brugh
2002-01-19 19:38 ` Marc A. Criley
2002-01-21 6:08 ` Kevin Brugh
2002-01-21 6:49 ` Jim Rogers
2002-01-21 9:54 ` Hyman Rosen
2002-01-21 22:40 ` David Kirk
2002-01-21 12:50 ` Marc A. Criley
2002-01-22 18:35 ` Stephen Leake
2002-01-23 21:04 ` richtmp [this message]
2002-01-25 12:53 ` Marc A. Criley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox