comp.lang.ada
 help / color / mirror / Atom feed
From: "John Smith" <someone@microsoft.com>
Subject: Re: Rational Apex Ada - Pragma interface with C++
Date: Mon, 14 Oct 2002 16:28:28 GMT
Date: 2002-10-14T16:28:28+00:00	[thread overview]
Message-ID: <H3zCFG.2E9@news.boeing.com> (raw)
In-Reply-To: 3DA6B3DA.98A0240E@earthlink.net

Thank you for your input.  Unfortunately I don't have the Apex C++ compiler
installed.  Thanks.


"Marc A. Criley" <mcq95@earthlink.net> wrote in message
news:3DA6B3DA.98A0240E@earthlink.net...
> John Smith wrote:
> >
> > Does anyone know how to use pragma interface for interfacing C++
functions
> > to an Ada program.  I know how to do it with C, but can't seem to get it
to
> > work with C++.
>
> There are detailed instructions in the Apex documentation on how to do
> this,
> and they do work.
>
> The part that isn't mentioned, though, is that the C++ _must_ be
> compiled
> with Apex C++. Otherwise the run-time environments conflict, and the
> resulting executable runs unreliably, if at all, which was our
> experience.
> This rather significant restriction was stated by a Rational
> representative.
>
> Originally, the C++ code we had to link in was compiled with Sun's Forte
> C++, and we were fortunate that the nature of the code was highly
> algorithmic and portable, so compiling it with Apex C++ went quite
> smoothly.
>
> Marc A. Criley
> Quadrus Corporation
> www.quadruscorp.com





      reply	other threads:[~2002-10-14 16:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-10 17:20 Rational Apex Ada - Pragma interface with C++ John Smith
2002-10-10 19:32 ` Stephen Leake
2002-10-10 21:47 ` Matthew Heaney
2002-10-14 16:41   ` John Smith
2002-10-14 23:03   ` John Smith
2002-10-15  0:12     ` Jeffrey Creem
2002-10-15  1:08       ` John Smith
2002-10-15 13:31         ` Ted Dennison
2002-10-11 11:12 ` Marc A. Criley
2002-10-14 16:28   ` John Smith [this message]
replies disabled

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