comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Pragma Export and initialized variables
Date: 25 Jan 2002 07:03:35 -0600
Date: 2002-01-25T07:03:35-06:00	[thread overview]
Message-ID: <CnJ3smw7Xjxa@eisner.encompasserve.org> (raw)
In-Reply-To: 5ee5b646.0201241908.810e556@posting.google.com

In article <5ee5b646.0201241908.810e556@posting.google.com>, dewar@gnat.com (Robert Dewar) writes:
> Kilgallen@SpamCop.net (Larry Kilgallen) wrote in message news:<7rHjSipcl0PM@eisner.encompasserve.org>...
>>  Certainly Compaq Ada (83) takes
>> care of elaboration in this circumstance without any special call,
> 
> 
> You miss the point here. The adainit and adafinal
> procedures recommended in the RM deal with the situation where you
> want specific control over when the Ada initialization and
> finalization occur in a mixed language
> program. It is absolutely essential to have a specific call for this
> level of control, which was not available in any
> Ada 83 system.

From previous discussion in this newsgroup, I was under the impression
that adainit had to be called by the foreign main program to get the
elaboration code to be executed at all, especially when the Ada code
was in a shareable image (DLL).

Is elaboration handled automatically for the default case in all
environments where Ada is called from a foreign language ?



      parent reply	other threads:[~2002-01-25 13:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 10:15 Pragma Export and initialized variables Sandro Binetti
2002-01-23 22:04 ` Robert A Duff
2002-01-24  8:50   ` Sandro Binetti
2002-01-24 18:14     ` Stephen Leake
2002-01-24 19:29       ` Pascal Obry
2002-01-24 22:38         ` Larry Kilgallen
2002-01-25  3:08           ` Robert Dewar
2002-01-25 12:47             ` Marc A. Criley
2002-01-25 13:03             ` Larry Kilgallen [this message]
replies disabled

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