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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bae62a394f8c9d83 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: ada binding From: Georg Bauhaus In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1139503180.15404.2.camel@sonnenregen> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Date: Thu, 09 Feb 2006 17:39:41 +0100 NNTP-Posting-Date: 09 Feb 2006 17:34:09 MET NNTP-Posting-Host: a0278f3b.newsread4.arcor-online.net X-Trace: DXC=Ao@C^DH:b[JeoBec=`Q1lF:ejgIfPPldDjW\KbG]kaMHGAlE^3P3k5E=SXhS50EO;BkM:\hfY9EI@jNgeNK]gRIG X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:2822 Date: 2006-02-09T17:34:09+01:00 List-Id: On Thu, 2006-02-09 at 16:56 +0100, Szymon Guz wrote: > > OK, but what about using the class fields : > > class MyClass > { > public: > int X; > int *p_X; > } > > and what about inheriting this from the class in Ada, is it possible ? > This tends to be compiler specific AFAICT. At least Aonix and AdaCore explain what you can do to make a C++ OO type available to an Ada program. If you have some "generalized" OO architecture like with CORBA or .NET or Mono, binding to an OO module should be easier. -- Georg