comp.lang.ada
 help / color / mirror / Atom feed
From: Alfred Hilscher <Alfred.Hilscher@icn.siemens.de>
Subject: generation of bindings
Date: Thu, 18 Oct 2001 09:07:27 +0200
Date: 2001-10-18T09:07:27+02:00	[thread overview]
Message-ID: <3BCE7FAF.94172DA4@icn.siemens.de> (raw)

Hi,

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;

Now an application using this compiles, but during linking it reports
error "missing AB". I've seen that for the Windows binding for example,
there are "*.a" files for GNAT and "*.lib" files for Aonix. Can someone
give me a hint, how to create such a file for my binding ?



             reply	other threads:[~2001-10-18  7:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-18  7:07 Alfred Hilscher [this message]
2001-10-18  9:44 ` generation of bindings Peter Hend�n
2001-10-18 12:53   ` Alfred Hilscher
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox