C++ Programming
08-05-2009, 11:23 AM
Hi All,
I am getting exception in code:
temp=g_pNsp->GetFolderFromID(_bstr_t(szEntryID));
pitem=temp->Items;
for (int i=1;iCount;i++)
pMail=pitem->Item(i);
Somtimes I am getting pMail=0x000000 but there is emails inside that folder,
I think item will not be MailItem. How to type cast of check for MailItem?
I am getting exception in code:
temp=g_pNsp->GetFolderFromID(_bstr_t(szEntryID));
pitem=temp->Items;
for (int i=1;iCount;i++)
pMail=pitem->Item(i);
Somtimes I am getting pMail=0x000000 but there is emails inside that folder,
I think item will not be MailItem. How to type cast of check for MailItem?