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