摘要: 一.简介 marshal_as库是一个托管与非托管代码间数据类型的转换模板库. 非托管即本地 C++或C代码二.基本用法1.非托管到托管的字符串转换String^ clrString; const char* pcszHello = "hello world";clrString = marshal_as<String^>(pcszHello); wchar_t* pwszHello = L"hello wide world";clrString = marshal_as<String^>(pwszHello); bstr_t b 阅读全文
posted @ 2011-06-23 12:25 让代码飞一会儿 阅读(495) 评论(0) 推荐(0) 编辑