comp.lang.ada
 help / color / mirror / Atom feed
* Interface with C++ code
@ 1998-01-02  0:00 TIN T NGUYEN
  1998-01-04  0:00 ` Jerry van Dijk
  0 siblings, 1 reply; 2+ messages in thread
From: TIN T NGUYEN @ 1998-01-02  0:00 UTC (permalink / raw)



Hello,
Anybody know if we can use C++ object if ADA95 code ??  I knew
that we can 'pragma Import' C++ function, but I dont know how we
define an C++ object instance in ADA.  Any advice will be
appreciated.
Please let me know by email  tnguyen@logicon.com
Happy New Year
Tin






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Interface with C++ code
  1998-01-02  0:00 Interface with C++ code TIN T NGUYEN
@ 1998-01-04  0:00 ` Jerry van Dijk
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry van Dijk @ 1998-01-04  0:00 UTC (permalink / raw)



In article <68kcoj$2dus$1@newssvr04-int.news.prodigy.com> TINN@prodigy.net writes:

>Anybody know if we can use C++ object if ADA95 code ??  I knew
>that we can 'pragma Import' C++ function, but I dont know how we
>define an C++ object instance in ADA.  Any advice will be
>appreciated.

If you are using GNAT, look up the interface in the documentation.
The examples also show Ada/C++ interoperability (ex6).

--

-- Jerry van Dijk | Leiden, Holland
-- Consultant     | Team Ada
-- Ordina Finance | jdijk@acm.org




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-01-04  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-02  0:00 Interface with C++ code TIN T NGUYEN
1998-01-04  0:00 ` Jerry van Dijk

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