comp.lang.ada
 help / color / mirror / Atom feed
From: "Thomas Krueger" <thomas.krueger2@uni-rostock.de>
Subject: calling a dll
Date: Wed, 3 May 2006 08:54:27 +0200
Date: 2006-05-03T08:54:27+02:00	[thread overview]
Message-ID: <445853a0$1@news.uni-rostock.de> (raw)

Hello,

i've got a problem calling a dll. This dll is written in C. I've build a 
specification file where i described all types and function prototypes. I've 
tried to link the dll with dynamically using Loadlibrary, GetProcAdress etc. 
and statically using the import library.

 In both ways my programm could be built without any problem. Some functions 
from the dll can be called without a problem. But in some other cases the 
function in the dll raises an internal error. But the dll works correctly 
when called by a c programm.

Maybe you can help me - what are common errors by calling a dll with gnat?

Thanks in advance

Thomas 





             reply	other threads:[~2006-05-03  6:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-03  6:54 Thomas Krueger [this message]
2006-05-05  9:04 ` calling a dll Stephen Leake
replies disabled

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