///CString ---to---string
(网上有许多其他办法,但在VS2005,就是不通过)
CString = _T("CheDan");
std::string s= (CStringA)ID;
///string ---to-----LPWSTR
wstring widstr;
std:string s("DanTeng");
widstr = std::wstring(s.begin(), s.end());
lvItem.pszText=(LPWSTR)widstr.c_str();