comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Problem with QTAda 3.0 and QTCore4.dll on Windows
Date: Fri, 8 Jan 2010 10:41:15 +0100
Date: 2010-01-08T10:41:12+01:00	[thread overview]
Message-ID: <3m742ykmehcx$.kb15fyietkrp.dlg@40tude.net> (raw)
In-Reply-To: 872e99c3-5dbc-4ac0-8a82-050b63fc7352@s3g2000yqs.googlegroups.com

On Thu, 7 Jan 2010 23:10:25 -0800 (PST), Vadim Godunko wrote:

> On Jan 8, 1:32�am, Hibou57 (Yannick Duch�ne)
> <yannick_duch...@yahoo.fr> wrote:
>>
>> While I do not know about the technical details, I use to read from
>> place to place, GNAT provides a custom support for interfacing Ada and
>> C++ library, as well as ObjectAda does, if I'm not wrong.
>>
> GNAT C++ interface feature is expected to be used only with C++ code
> compiled by G++. Don't known about ObjectAda, may be it can interface
> with MSVC.

You can even debug programs compiled by ObjectAda (7.2) in Visual Studio, 
to a certain extent. However, I cannot tell if ObjectAda C++ interfacing 
works, I never tried that.

To be honest, it is a big mistake to make a library with only C++ 
interface, because that exposes not only the constants, subprograms and 
their profiles defined in terms of simple types, but it also does virtual 
tables and internal layouts of the classes. That is too much coupling from 
the software design point of view. (The same would apply to Ada's tagged 
types, unfortunately.)

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2010-01-08  9:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05 21:04 Problem with QTAda 3.0 and QTCore4.dll on Windows Alexis
2010-01-06 12:17 ` Vadim Godunko
2010-01-06 14:15   ` Hibou57 (Yannick Duchêne)
2010-01-06 14:46     ` Dmitry A. Kazakov
2010-01-06 22:23   ` Alexis
2010-01-07  7:19     ` Per Sandberg
2010-01-07 10:59       ` Dmitry A. Kazakov
2010-01-07 21:39         ` Alexis
2010-01-07 22:11         ` Vadim Godunko
2010-01-07 22:32           ` Hibou57 (Yannick Duchêne)
2010-01-08  7:10             ` Vadim Godunko
2010-01-08  9:41               ` Dmitry A. Kazakov [this message]
2010-01-07 23:02           ` Dmitry A. Kazakov
2010-01-08  7:28             ` Vadim Godunko
replies disabled

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