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.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,ffec26335ca2d266 X-Google-Attributes: gid103376,public From: "Peter Hend�n" Subject: Re: Unresolved references when linking Gnat 3.11p Ada with Visual C++ Libraries. Date: 1999/02/04 Message-ID: <79ciao$i33$1@cubacola.tninet.se>#1/1 X-Deja-AN: 440637230 References: <01be4fa3$f80b5b70$0a01010a@nc84c> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 X-Complaints-To: abuse@algo.net X-Trace: cubacola.tninet.se 918146200 18531 195.100.243.88 (4 Feb 1999 16:36:40 GMT) Organization: Teknisk Dokumentation AB NNTP-Posting-Date: 4 Feb 1999 16:36:40 GMT Newsgroups: comp.lang.ada Date: 1999-02-04T16:36:40+00:00 List-Id: I get unresolved references in the demo2 sample shipped with gnat 3.11p for NT. These references are to __imp__iob SetUnhandledExceptionFilter@4 ExitProcess@4 Oh, and the original poster did state that he was using Gnat 3.11p in the Subject line. The Win32 binding I am using is the one included with the NT port of gnat. Can anyone help? Regards, Peter -- Peter Hend�n http://www.algonet.se/~phenden ICQ: 14672398 Teknisk Dokumentation AB http://www.tdab.com Stephen Leake wrote in message ... >"Mark" writes: > >> I'm trying to link to a library created using visual c++. >> >> I get the following undefined references :- >> _imp__CreateEventA@16 >> >> libkernal32.a includes reference to :- >> ___imp_CreateEventA@16 >> >> Is it possible to resolve the naming difference? >> >> I do not have access to the c++ source code. > >Since we don't have access to _your_ source code, we can't help either :) > >Please post your subprogram declaration and Import pragma, and state >what compiler you are using, and which version of Windows, and what >Win32 binding. Then we might be able to help. > >-- Stephe