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,6c7be346cfa17c37 X-Google-Attributes: gid103376,public From: jsa@alexandria (Jon S Anthony) Subject: Re: Ada/Motif problem... Date: 1996/08/29 Message-ID: #1/1 X-Deja-AN: 177231187 sender: news@organon.com (news) references: <4vupg6$ljf@goanna.cs.rmit.edu.au> organization: Organon Motives, Inc. newsgroups: comp.lang.ada Date: 1996-08-29T00:00:00+00:00 List-Id: In article <503hsp$be2@romeo.logica.co.uk> husseinp@logica.com (Paul Hussein) writes: > Spot on! When passing strings from Ada to C one needs to > null-terminate them. The best Idea is to write yourself a little > package the does C conversions and declaraarions much like the ones > that come with DEC Ada or VADS Ada. Nah. The best idea is to start using Ada95 and use the _standard_ out of the box interoperability of Interfaces.C.Strings which does all this (and more). /Jon -- Jon Anthony Organon Motives, Inc. 1 Williston Road, Suite 4 Belmont, MA 02178 617.484.3383 jsa@organon.com