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=0.6 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d6a32dacf12eb9e,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-10 13:01:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Hagi Yilmaz" Newsgroups: comp.lang.ada Subject: Interfacing with C++ Date: Wed, 10 Oct 2001 23:01:19 +0300 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1002744114 56245 137.194.161.2 (10 Oct 2001 20:01:54 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 10 Oct 2001 20:01:54 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Originating-IP: [195.175.137.149] X-OriginalArrivalTime: 10 Oct 2001 20:01:19.0455 (UTC) FILETIME=[53CF3EF0:01C151C6] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:14205 Date: 2001-10-10T23:01:19+03:00 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