If you need to retrieve the
text of a column then you must properly initialize the
LVCOLUMN
struct:
const INT SIZE = 0x100;
TCHAR szText[SIZE];
LVCOLUMN lvColInfo ;
ZeroMemory(&lvColInfo, sizeof(lvColInfo));
lvColInfo.pszText = szText;
lvColInfo.cchTextMax = SIZE;
lvColInfo.mask = LVCF_TEXT;
m_MyListCtrl.GetColumn(0, &lvColInfo);