Sorry if you misunderstood me, but i´m not converting a LPCSTR, i´m converting a std::string, from <string>. Thanks.
Miguel Ángel Chacón Espín Responsable de Proyectos Área de Investigación y Desarrollo Dirección de Ingenieria y Mantenimiento Telecinco Ctra. de Irún Km. 11.700 28049 Madrid Tlf: 34 / 913959454 E-mail: [EMAIL PROTECTED] -----Mensaje original----- De: dotnet discussion [mailto:[EMAIL PROTECTED]] En nombre de kojiishi Enviado el: jueves, 25 de abril de 2002 11:49 Para: [EMAIL PROTECTED] Asunto: Re: [DOTNET] MC++: string to System::String new String(lpsz) -----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Miguel チngel Chac Sent: Thursday, April 25, 2002 6:16 PM To: [EMAIL PROTECTED] Subject: [DOTNET] MC++: string to System::String Hi, i need some help here. Maybe is a stupid question, but how I convert a string to System::String? I reviewed the Marshal class and I can do the String to string conversion with the help of StringToHGlobalAnsi, but I can´t find how to do the inverse. Thanks a lot for your help. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.