开发者

0x80040115 when trying to retrieve PR_DISPLAY_NAME

开发者 https://www.devze.com 2022-12-31 08:13 出处:网络
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 0x800

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 runni开发者_Python百科ng 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?


0x80040115 is MAPI_E_NETWORK_ERROR. The folder could be a shared folder from another inbox, and you cannot connect to it. Outlook may still display it properly because it cached the name somewhere.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号