* calling a dll
@ 2006-05-03 6:54 Thomas Krueger
2006-05-05 9:04 ` Stephen Leake
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Krueger @ 2006-05-03 6:54 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-05 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-03 6:54 calling a dll Thomas Krueger
2006-05-05 9:04 ` Stephen Leake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox