comp.lang.ada
 help / color / mirror / Atom feed
From: James Alan Farrell <jfarrell@nospam.com>
Subject: Re: Ada call from vc++
Date: Tue, 07 Jun 2005 12:41:59 -0400
Date: 2005-06-07T12:41:59-04:00	[thread overview]
Message-ID: <42a5ceb0$1_3@newsfeed.slurp.net> (raw)
In-Reply-To: <1118124103.669346.164000@o13g2000cwo.googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

Matthias wrote:
> Hi all,
> 
> we have an c++-application that includes a dll with adacode. Another
> c++-application starts this app with CreateProcess(...). After starting
> the c++-app the following error comes up:
> "Program terminated by an exception propagated out of the main
> subprogram. Exception raised: ADA.IO_EXCEPTIONS.USE_ERROR. Executable
> name... EIP EBP..."
> If we start the c++-app with the adacode dll manually there is no error
> message shown.
> Somebody knows about this problem?
> 
> Matthias
> 

What Ada compiler did you use to make the DLL?

If it is gnat, then there is a function ada_init() that must be called 
from c++.

James

[-- Attachment #2: jfarrell.vcf --]
[-- Type: text/x-vcard, Size: 88 bytes --]

begin:vcard
fn:James Alan Farrell
n:Farrell;James
org:GrammaTech
version:2.1
end:vcard


  reply	other threads:[~2005-06-07 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07  6:01 Ada call from vc++ Matthias
2005-06-07 16:41 ` James Alan Farrell [this message]
2005-06-07 20:45 ` Björn Persson
replies disabled

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