C++ /cli Convert LPCSTR to System::String^

3.5k views Asked by At

I'm having a problem with converting LPCSTR to System::String^, though i am able to convert System::String to LPCSTR with Marshal.

But how can i convert LPCSTR to System::String^

Thank You

1

There are 1 answers

2
MikeP On BEST ANSWER
gcnew System::String(lpcstrThing);