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: 103376,ae16e476a8e84b7b X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!r15g2000prh.googlegroups.com!not-for-mail From: Manuel Gomez Newsgroups: comp.lang.ada Subject: Re: GNAT 2008 GPL pragma import VC++ Date: Tue, 27 Jan 2009 14:48:47 -0800 (PST) Organization: http://groups.google.com Message-ID: <89d87b4e-b50f-4d35-b4ae-58313f2c94d4@r15g2000prh.googlegroups.com> References: <7d667b48-d51c-41ef-9cb4-cb3b640f8824@d32g2000yqe.googlegroups.com> NNTP-Posting-Host: 79.147.103.199 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1233096527 6617 127.0.0.1 (27 Jan 2009 22:48:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 27 Jan 2009 22:48:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r15g2000prh.googlegroups.com; posting-host=79.147.103.199; posting-account=wH6HYAoAAAAK7zncUBGPTSTVRKG7WqMb User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.0.5) Gecko/2008121622 Ubuntu/8.04 (hardy) Firefox/3.0.5,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3513 Date: 2009-01-27T14:48:47-08:00 List-Id: On 27 ene, 20:30, JJ wrote: > I have an Ada program that has a pragma import to a Visual C++ > procedure. =A0I have tried several combination's of External_Name (all > uppercase, all lowercase, mixed...) to no avail. =A0I continue to get an > "undefined reference" error during the link. > > Anyone have any experience with this? Take a look at this Ada wikibook page: http://en.wikibooks.org/wiki/Ada_Programming/Platform/Windows/Visual_C%2B%2= B_-_GNAT_interface