我的程序 在加了一个函数以后崩溃了  这是一个把收得的邮件
信息 显示的函数     
void CRECE::OnItemchangedListMessages(NMHDR* pNMHDR, LRESULT* pResult) 
{
NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;
// TODO: Add your control notification handler code here
// TODO: Add your control notification handler code here
//获取选定信件的指针
POSITION pos =m_Messages.GetFirstSelectedItemPosition();
if(pos)
{
int nItem=m_Messages.GetNextSelectedItem(pos);
//显示内容
m_Body= m_strBodyArray.GetAt(nItem);//编译器从这报错了
UpdateData(FALSE);
} *pResult = 0;
}本来是一个错误都没有的
加了这个函数
       m_Body是一个CString的编辑框变量m_strBodyArray是一个 动态CString
 在接收邮件RECE函数里面执行了m_strBodyArray.Add((const char*)bstrBody);
而_bstr_t bstrBody=pMessage->Body的!   请大牛们救。错误为   
d:\program files\microsoft visual studio\vc98\include\comip.h(686) : error C2451: conditional expression of type 'const struct jmail::IMessage' is illegal
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
        d:\program files\microsoft visual studio\vc98\include\comip.h(195) : see reference to function template instantiation 'long __thiscall _com_ptr_t<class _com_IIID<struct jmail::IMessage,&struct __s_GUID _GUID_3a037057_57f0_4904_a1e0_ad0ea2fb5
64e> >::_QueryInterface(const struct jmail::IMessage &)' being compiled
d:\program files\microsoft visual studio\vc98\include\comip.h(690) : error C2819: type 'jmail::IMessage' does not have an overloaded member 'operator ->'
        d:\program files\microsoft visual studio\myprojects\myemail\debug\jmail.tlh(251) : see declaration of 'IMessage'
        d:\program files\microsoft visual studio\vc98\include\comip.h(195) : see reference to function template instantiation 'long __thiscall _com_ptr_t<class _com_IIID<struct jmail::IMessage,&struct __s_GUID _GUID_3a037057_57f0_4904_a1e0_ad0ea2fb5
64e> >::_QueryInterface(const struct jmail::IMessage &)' being compiled
d:\program files\microsoft visual studio\vc98\include\comip.h(690) : error C2227: left of '->QueryInterface' must point to class/struct/union
        d:\program files\microsoft visual studio\vc98\include\comip.h(195) : see reference to function template instantiation 'long __thiscall _com_ptr_t<class _com_IIID<struct jmail::IMessage,&struct __s_GUID _GUID_3a037057_57f0_4904_a1e0_ad0ea2fb5
64e> >::_QueryInterface(const struct jmail::IMessage &)' being compiled
执行 cl.exe 时出错.