"Alfred Hilscher" wrote: > I have a DLL (on WinNT) where I want write (Ada-) bindings for. I wrote > a package spec like: > > package XY_Binding is > procedure AB; > > pragma Import (Stdcall, AB, "AB"); > end XY_Binding; You'll find most of this covered in the GNAT user's guide in the section "Using DLLs with GNAT". If your .dll has no import library (a .lib or .a file), you'll need to create one. For this you can use the dll2def and the gnatdll utilities also described in the user's guide. I hope this helps. Regards, Peter H. -- Peter Hend�n http://www.algonet.se/~phenden ICQ: 14672398 Teknisk Dokumentation AB http://www.tdab.com