那位大侠有CString与System::String^相互转化的C++封装类啊,给小弟提供一份啊,急需啊,不胜感激!
邮箱:Wangyj.2006@yahoo.com.cn
------解决方案--------------------------------------------------------
cstring->string^
Marshal::PtrToStringAuto( cstring.cstr());
string^->cstring
cstring((char*)Marshal::StringToHGlobalAuto (string^))
------解决方案--------------------------------------------------------
楼上㊣解
------解决方案--------------------------------------------------------
cstring->string^
Marshal::PtrToStringAuto( cstring.cstr());
string^->cstring
cstring((char*)Marshal::StringToHGlobalAuto (string^))