I have used CListCtrl in the past with no problem, but in my current project I get an access violation.
I have traced it down to the face that the m_hWnd in not set. Trying to set it also results in an access violation.
I am able to create the column headers with no problem. It is when I perform an InsertItem that the error occurs. I have compared my implementation with what I had done in my previous project and it all looks the same.
// Insert subitem for col 1
m_PayoutSheet.SetItemText(1, 1, PercentageT);