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,ad829d3ec11d6354 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!i40g2000cwc.googlegroups.com!not-for-mail From: christoph.grein@eurocopter.com Newsgroups: comp.lang.ada Subject: Re: Problem creating bindings - please help Date: 18 May 2006 04:24:09 -0700 Organization: http://groups.google.com Message-ID: <1147951449.361205.317700@i40g2000cwc.googlegroups.com> References: <1147934783.645893.274580@u72g2000cwu.googlegroups.com> <1147949508.476468.302020@j73g2000cwa.googlegroups.com> NNTP-Posting-Host: 80.156.44.1 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1147951454 16645 127.0.0.1 (18 May 2006 11:24:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 18 May 2006 11:24:14 +0000 (UTC) In-Reply-To: <1147949508.476468.302020@j73g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 webwasher (Webwasher 5.3.0.2217) Complaints-To: groups-abuse@google.com Injection-Info: i40g2000cwc.googlegroups.com; posting-host=80.156.44.1; posting-account=nIrLjQ0AAAAgar8ljl4x6DQaFY__mhF4 Xref: g2news2.google.com comp.lang.ada:4292 Date: 2006-05-18T04:24:09-07:00 List-Id: Gerd wrote: > > The GNAT Users Guide say that the "_" and the "@16" is appended > automatically for "__stdcall" (as far as I understood). And the > function is declared as "__stdcall" in the header-file. External_Name and Link_Name in pragma Import are optional. But if you provide them, they must be exact (AFAICS).