Hu’s Blog

Just a blog

CString 赋值给 LPTSTR

1
2
3
4
LVITEM  lvi;
CString temp = m_pFiles->GetAt(i).strFileName;
lvi.pszText = temp.GetBuffer(temp.GetLength());
temp.ReleaseBuffer();

RSS 2.0 . Comment . Trackback

Leave a Reply