Quote Originally Posted by [email protected] View Post
Sorry for let reply. When I click on Delete button Code for getting a text of selected item is executed. but as cursor came across to m_klist. selectediteam is give that error, after click on break icursoe goes on this line

if ((pListCtrl = (CMFCListCtrl*)this->GetDlgItem(IDC_COMPANYLIST)) != NULL)
Could you now translate it into plain English?
Besides, it would be helpful if you explained what is the file containing the code snippet you showed, and where this file is.