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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,58954255a8d7f77d X-Google-Attributes: gid103376,public From: falis@ma.aonix.com Subject: Re: c calling ada Date: 1998/06/12 Message-ID: <1103_897670291@DZOGCHEN>#1/1 X-Deja-AN: 362066381 Sender: news@sd.aonix.com (USENET News Admin @flash) X-Nntp-Posting-Host: 192.157.137.14 References: <357FFBCC.167E@hrpsystems.com> Organization: Aonix, San Diego, CA, USA Newsgroups: comp.lang.ada Date: 1998-06-12T00:00:00+00:00 List-Id: 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