comp.lang.ada
 help / color / mirror / Atom feed
From: falis@ma.aonix.com
Subject: Re: c calling ada
Date: 1998/06/12
Date: 1998-06-12T00:00:00+00:00	[thread overview]
Message-ID: <1103_897670291@DZOGCHEN> (raw)
In-Reply-To: uaf7i4rjz.fsf@gsfc.nasa.gov


You should be able to use 7.0 with MSVC 5 without any 
particular problems.

The easiest way to have C call the Ada code is to put the Ada 
into a DLL.  In the project.settings.link property page, select 
DLL as the application kind.  Make sure you don't have the 
"runtime in DLL" option checked - there was a bug in 7.0 when 
combining these two options.  And read the help for details on 
setting things up in your source code for export.

You can also call the Ada code directly, but will need to call the 
Ada 95 predefined routines adainit and adafinal to get things 
elaborated correctly.

- Ed Falis
Aonix




  reply	other threads:[~1998-06-12  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-11  0:00 c calling ada Clark Snowdall
1998-06-12  0:00 ` Stephen Leake
1998-06-12  0:00   ` falis [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-08-01  0:00 C++ Calling ADA Nick
replies disabled

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