My native raw C++ program uses MAPI to traverse the tree in the Exchange Server.
Sometimes when I call HrGetOneProp()
on a IMAPIFolder*
pointer to retrieve PR_DISPLAY_NAME
it fails with HRESULT
0x80040115
. It only happens for one particular folder, all other folders names are retrieved allright.
Outlook 2003 running on the same machine under the same user displays all folders, problematic one included.
What is the cause of the problem and how do I resolve it?