From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: calling Ada dll from C? Date: Mon, 23 Mar 2015 09:36:03 +0100 Organization: cbb software GmbH Message-ID: References: <85d2428z3e.fsf@stephe-leake.org> <85lhiomb20.fsf@stephe-leake.org> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: OpkKbm9QwHUq0Y4SxjI2mw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.giganews.com comp.lang.ada:192528 Date: 2015-03-23T09:36:03+01:00 List-Id: 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