摘要:
System::String^ to std::string void MarshalString ( System::String^ s, std::string& os ) { using namespace System::Runtime::InteropServices; const char* chars = (const char*)(Marshal::StringToHGlobalAnsi(s)).ToPointer(); os = chars; Marshal::FreeHGloba... 阅读全文