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 >