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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no 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!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Felix Krause Newsgroups: comp.lang.ada Subject: Re: StdCall and pragma Import_Function Date: Sun, 21 Aug 2011 11:25:12 -0700 (PDT) Organization: http://groups.google.com Message-ID: <87baa972-0a52-4ee9-bb49-e1bfdc0d9cbc@glegroupsg2000goo.googlegroups.com> 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> <51f8a92b-41b2-4d57-914e-a326163adc9f@glegroupsg2000goo.googlegroups.com> Reply-To: comp.lang.ada@googlegroups.com NNTP-Posting-Host: 92.203.91.110 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1313951238 29986 127.0.0.1 (21 Aug 2011 18:27:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 21 Aug 2011 18:27:18 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=92.203.91.110; posting-account=sXebhAoAAACnuNgFPhYnsVyKMeBm3XmF User-Agent: G2/1.0 X-Google-Web-Client: true Xref: g2news1.google.com comp.lang.ada:20701 Date: 2011-08-21T11:25:12-07:00 List-Id: Using a 64-bit Integer type instead of the record, I finally succeeded in linking to the library. Luckily, it works now without having to use explicit external names, so my code remains fully os-independent. Thanks everyone.