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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c2e7f8bf8bb63e0 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: In GNAT/Ada95(main) use a C-Program Date: 1999/06/09 Message-ID: <7jmm1k$vc8$1@nnrp1.deja.com>#1/1 X-Deja-AN: 487629955 References: <375E60AD.C56EAE59@sbox.tu-graz.ac.at> <7jlrn0$c2h@hobbes.crc.com> <375EB748.2ABAAC25@sbox.tu-graz.ac.at> X-Http-Proxy: 1.0 x42.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Jun 09 21:24:15 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-06-09T00:00:00+00:00 List-Id: In article <375EB748.2ABAAC25@sbox.tu-graz.ac.at>, Gerhard Griessnig wrote: > Thanks for your response, > we have also read the GNAT-Users Guide. > We know how to compile-bind and link C-Programes, but we do not know the Syntax > how > to call a C-Program in an Ada-Main-Program and deliver some Parameters. > We would need some examples ( Syntax ). This is completely covered in the Ada RM, GNAT follows all the RM recommendations for passing parameters to C convention subprograms. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.