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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,9192417d428824a0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!j24g2000yqa.googlegroups.com!not-for-mail From: Vadim Godunko Newsgroups: comp.lang.ada Subject: Re: Problem with QTAda 3.0 and QTCore4.dll on Windows Date: Thu, 7 Jan 2010 23:28:25 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <1660bebd-45ca-4568-b92a-380614d94ecc@c34g2000yqn.googlegroups.com> <8ec14209-e505-4873-86b4-294149841777@v25g2000yqk.googlegroups.com> <199i04cdgiqlc$.1tlj9wnffh6g9$.dlg@40tude.net> <1ph5w4hfwxweu$.1a0r04qtvcqwl.dlg@40tude.net> NNTP-Posting-Host: 93.178.112.35 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1262935705 10442 127.0.0.1 (8 Jan 2010 07:28:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 8 Jan 2010 07:28:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j24g2000yqa.googlegroups.com; posting-host=93.178.112.35; posting-account=niG3UgoAAAD7iQ3takWjEn_gw6D9X3ww User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8667 Date: 2010-01-07T23:28:25-08:00 List-Id: On Jan 8, 2:02=A0am, "Dmitry A. Kazakov" wrote: > On Thu, 7 Jan 2010 14:11:37 -0800 (PST), Vadim Godunko wrote: > > On Jan 7, 1:59=A0pm, "Dmitry A. Kazakov" > > wrote: > >> On Thu, 07 Jan 2010 08:19:17 +0100, Per Sandberg wrote: > >>> The core reason is that the Binary Interface specific the name-mangli= ng > >>> in C++ is different between gcc and MSVC, on top of that the > >>> documentation in the MSVC case is "sparse". > > >> That should not be a problem in case of C. One should only make a choi= ce > >> between stdcall and cdecl convention when you make a call from Ada. I = guess > >> Qt has plain C interface? Then what happens inside of it is no matter. > > > Qt is pure C++ library, there is no C interface provided by it. > > Well, the question is whether the interface uses virtual functions and > classes you have to derive from. That would make a real difference. > Both are expected to be used actively. The most complicated area of QtAda design was providing a useful (for the end programmer) way to interfacing with virtual functions and handling association between the same object at Ada and C++ side.