From: "J�r�me HAGUET" <j.haguet@cadwin.com>
Subject: Linking Ada and DLLs
Date: 1999/03/12
Date: 1999-03-12T00:00:00+00:00 [thread overview]
Message-ID: <01be6cab$bc8e4380$40bd2bc0@pc-internet2> (raw)
I am trying to build an application in ADA linked with C DLLs.
This DLLs use stdcall calling convention.
I built import library using dll2def and dlltool :
dll2def imp_dll.dll > imp_dll.def
dlltool --dllname imp_dll.dll --def imp_dll.def --output imp_dll.a
if I uses import (Stdcall, ada_name, "C_name"), link fails. If I uses import (C, ada_name,
"C_name"), link works but execution fails.
Can someone explain me why I cannot use stdcall ?
next reply other threads:[~1999-03-12 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-12 0:00 J�r�me HAGUET [this message]
1999-03-12 0:00 ` Linking Ada and DLLs Martin C. Carlisle
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox