http://icefoxwjx.blogchina.com/icefoxwjx/1507458.html(参考链接)
CString Str;
LPCTSTR lpstr;
1)CString ----> LPCTSTR(强制转换) lpstr = (LPCTSTR) Str;
2)CString <----> int
CString ss="1234";
int temp=atoi(ss);//temp = 1234;
CString aa;
aa.Format("%d",temp);//aa = "1234"