:: :: 博问 :: 闪存 :: :: 联系 :: :: 管理 ::

 char buf[100];
CString Str_Name = "test";

 USES_CONVERSION;
 strcpy(buf,W2A(Str_Name));

 std::string std_Name = buf;

posted on 2006-07-21 15:30  dtor  阅读(1830)  评论(2编辑  收藏  举报