LPCTSTR lpszText = ((CEditView*)m_viewList.GetHead())->LockBuffer();
Try breaking this down into its constituent parts so you can see the results at each stage, such as:
LPCTSTR lpszText;
CEditView* pView;
pView = (CEditView*)m_viewList.GetHead();
lpszText = pView->LockBuffer();
At each point you should be able to inspect the content of the variables to check that they are as you expect.
I'm also interested in what you mean by "// misnomer !!"