Previous: Creating an Ada Spec for the DLL Services, Up: Using DLLs with GNAT

G.8.2 Creating an Import Library

If a Microsoft-style import library API.lib or a GNAT-style import library libAPI.dll.a or libAPI.a is available with API.dll you can skip this section. You can also skip this section if API.dll or libAPI.dll is built with GNU tools as in this case it is possible to link directly against the DLL. Otherwise read on.