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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ffec26335ca2d266 X-Google-Attributes: gid103376,public From: Stephen Leake Subject: Re: Unresolved references when linking Gnat 3.11p Ada with Visual C++ Libraries. Date: 1999/02/03 Message-ID: #1/1 X-Deja-AN: 440276133 References: <01be4fa3$f80b5b70$0a01010a@nc84c> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Newsgroups: comp.lang.ada Date: 1999-02-03T00:00:00+00:00 List-Id: "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