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,39ade949adb6bf4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.80.MISMATCH!news.astraweb.com!border3.a.newsrouter.astraweb.com!newsreader4.netcologne.de!news.netcologne.de!newsfeed.straub-nv.de!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!usenet-fr.net!nospam.fr.eu.org!nntpfeed.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 20 Aug 2011 10:04:15 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: StdCall and pragma Import_Function References: <332032a4-0acf-459d-a743-e90e823ca5af@glegroupsg2000goo.googlegroups.com> <118ybwhr53151$.fjqabmpo2k23$.dlg@40tude.net> <3feb634f-ca38-4f08-a6da-5299233f295e@glegroupsg2000goo.googlegroups.com> <11f8n1nxhs0hg$.16p4wm0m6u4nt.dlg@40tude.net> <1je5iuczb7anp.1vt48byg9dio7$.dlg@40tude.net> In-Reply-To: <1je5iuczb7anp.1vt48byg9dio7$.dlg@40tude.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4e4f6a7f$0$6541$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 20 Aug 2011 10:04:15 CEST NNTP-Posting-Host: d1ec2543.newsspool4.arcor-online.net X-Trace: DXC=3QJ6oDCDejVh18;d3<[8Jkok2_``D4I[@d X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:20693 Date: 2011-08-20T10:04:15+02:00 List-Id: On 19.08.11 21:43, Dmitry A. Kazakov wrote: it indeed uses StdCall convention. The corresponding output of dumpbin is: > BTW, you will have problems with making bindings to this mess portable. I > had similar issues with poorly designed Glib. They too have the linkage > names varying from platform to platform. I solved that by using GNU linker > weak references and wrappers. Not nice, but they refused to fix the > problem. Did you mention the text ".*Ada.*" when asking? .->