M
Mark Beiley
What are possible reasons why I would get a NULL event item returned from a
call to the Item() member function of the Items for a calendar? My code
goes something like this:
pCalendar = pNameSpace->GetDefaultFolder(olFolderCalendar);
pItems = pCalendar->GetItems();
nRecCount = pItems->Count;
for(i=1; i<=nRecCount; i++)
{
pApptItem = pItems->Item(i);
}
On most machines, I never see a problem, but on one customer's machine
'pApptItem' is NULL for every event? I'm at a loss as to why, or how I can
figure out more information about these events?
Thanks
Mark
call to the Item() member function of the Items for a calendar? My code
goes something like this:
pCalendar = pNameSpace->GetDefaultFolder(olFolderCalendar);
pItems = pCalendar->GetItems();
nRecCount = pItems->Count;
for(i=1; i<=nRecCount; i++)
{
pApptItem = pItems->Item(i);
}
On most machines, I never see a problem, but on one customer's machine
'pApptItem' is NULL for every event? I'm at a loss as to why, or how I can
figure out more information about these events?
Thanks
Mark