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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,3d6a32dacf12eb9e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-11 04:18:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.37.1.10!newsfeed01.nntp.se.dataphone.net!nntp.se.dataphone.net!news-stob.telia.net!news-sto.telia.net!194.22.194.4.MISMATCH!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: "Peter Hend�n" Newsgroups: comp.lang.ada References: Subject: Re: Interfacing with C++ X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <_2fx7.17$O66.4763@newsc.telia.net> Date: Thu, 11 Oct 2001 11:06:34 GMT NNTP-Posting-Host: 213.67.175.183 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1002798394 213.67.175.183 (Thu, 11 Oct 2001 13:06:34 CEST) NNTP-Posting-Date: Thu, 11 Oct 2001 13:06:34 CEST Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:14236 Date: 2001-10-11T11:06:34+00:00 List-Id: If you're using GNAT you might check out "Interfacing to C++" in the reference manual. /Peter H. -- Peter Hend�n http://www.algonet.se/~phenden ICQ: 14672398 Teknisk Dokumentation AB http://www.tdab.com "Hagi Yilmaz" wrote in message news:mailman.1002744075.16878.comp.lang.ada@ada.eu.org... > Hello, > > How Can I map the "CString" in VC++ to Ada 95? > > Can I pass the "CString" from VC++ as parameter to an Ada procedure or > function. > > In fact I Use at the moment the (char *) for Interface, but I have to > allocate it from VC++ or from Ada 95 (chars_ptr) .And of course de-allocate > it, not to cause a storage leak. > > But i thougt if i could use "CString" somehow, i would not have to deal > with memory leaks anymore. > > Can anybody help me for that? ... > > Best Regards. > > Hagi Yilmaz > hagihun@hotmail.com > > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp >