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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,faa1ce46f1e6dc3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 07 Jun 2005 12:41:59 -0400 From: James Alan Farrell Organization: nospam User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada call from vc++ References: <1118124103.669346.164000@o13g2000cwo.googlegroups.com> In-Reply-To: <1118124103.669346.164000@o13g2000cwo.googlegroups.com> Content-Type: multipart/mixed; boundary="------------030202060704080009040703" NNTP-Posting-Host: fw.grammatech.com Message-ID: <42a5ceb0$1_3@newsfeed.slurp.net> X-Trace: newsfeed.slurp.net 1118162608 209.4.89.67 (7 Jun 2005 11:43:28 -0500) X-Original-NNTP-Posting-Host: 209.4.89.67 Path: g2news1.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.slurp.net!not-for-mail Xref: g2news1.google.com comp.lang.ada:11251 Date: 2005-06-07T12:41:59-04:00 List-Id: This is a multi-part message in MIME format. --------------030202060704080009040703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------030202060704080009040703 Content-Type: text/x-vcard; charset=utf-8; name="jfarrell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jfarrell.vcf" begin:vcard fn:James Alan Farrell n:Farrell;James org:GrammaTech version:2.1 end:vcard --------------030202060704080009040703--