摘要:
1. System::String 转换到 const wchar_t*const wchar_t* ToUnmanagedUnicode( System::String^ str ){ pin_ptr<const WCHAR> nativeString1 = PtrToStringChars( str ); return (const wchar_t*)nativeString1;}2. const wchar_t* / const char* 转换到 System::Stringconst wchar_t* p= L"hello"; System::Stri 阅读全文