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,3db17e1869f3a33d X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada95 Streams Question Date: 1996/06/23 Message-ID: <9606232338.AA12517@nile.gnat.com>#1/1 X-Deja-AN: 161752115 sender: Ada programming language comments: To: Chris.Morgan@baesema.co.uk, report@gnat.com newsgroups: comp.lang.ada Date: 1996-06-23T00:00:00+00:00 List-Id: "I have connected an Ada95 executable to a C++ executable using streams. The Ada is the brains of the application, and the C++ is the Motif pretty face. On both sides I have defined a set of portable types which application types are converted to for transmission and converted from on receipt." This should work reasonably reliably with GNAT, cannot say for other Ada 95 compilers which might do something completely different for stream rerpresentations of primitive data. It is a bit of a puzzle to us why you don't just use a procedural interface. It would be MUCH more portable, and MUCH more efficient