comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: calling Ada dll from C?
Date: Mon, 23 Mar 2015 09:36:03 +0100
Date: 2015-03-23T09:36:03+01:00	[thread overview]
Message-ID: <bynw4ad6jonf$.1l0i1ztpdzl5o.dlg@40tude.net> (raw)
In-Reply-To: 85lhiomb20.fsf@stephe-leake.org

On Mon, 23 Mar 2015 02:23:51 -0500, Stephen Leake wrote:

> Does anyone know why the loader does not say _which_ file is not found?
> It is _extremely_ frustrating to not be able to better diagnose this!

Yes. Maybe it is (under Windows) because GUI vs. console.

> I guess I can use a simple C main (rather than Emacs, to reduce the
> number of files accessed), and try strace.

That is what I did in such cases. E.g. when running from under GPS, I had
no error message dialog with the missing DLLs. When I ran it from the cmd
console I saw the dialog. In my case it were GNAT run-time DLLs missing.

BTW, I never managed to make Ada DLLs working under Windows. It seems too
many subtle settings required.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2015-03-23  8:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-21  9:43 calling Ada dll from C? Stephen Leake
2015-03-21 14:19 ` Simon Wright
2015-03-23  7:23   ` Stephen Leake
2015-03-23  8:36     ` Dmitry A. Kazakov [this message]
2015-03-23 13:42     ` Patrick Noffke
2015-03-25 20:48     ` 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