"Tao" <tt*******@hotmail.comwrote in message
news:eB**************@TK2MSFTNGP04.phx.gbl...
quick question: how to convert a managed data type system::string to
unmanaged wstring?
Something like this:
#include <vcclr.h>
wchar_t __pin *pStr = PtrToStringChars(s);
should get you a pointer to the constituent characters.
Regards,
Will