Topic: Failures in MS Outlook at access to letters
I write the extension for MS Outlook on a C ++, communicating with it through type library. In event OnNewMail () I process the letter, requesting them through interface IMailItem.
Handling simple - at first the letter is marked through margin setting Mileage (that in the future did not come across) and the subsequent saving.
Then the necessary information is derived from the letter (obtaining date, RFC-headings, a body).
After handling the letter is deleted, or is moved to a separate folder.
The problem arose in the following: after handling of a quantity of letters MS Outlook suddenly enters into a stupor and refuses to produce letters or any information on them. Codes HRESULT thus each time different - and any of them did not come across earlier to me. On a bit mask all of them are similar on normal E_FAIL, but high bits any strange (here the list from a program broad gull; these codes have been received at attempt of call GetItemFromID
hr=0xE3004005
hr=0xEB404005
hr=0xF3804005
hr=0xFBC04005
hr=0xFFE04005
hr=0x86204005
hr=0x8A404005
hr=0x8E604005
hr=0x92804005
hr=0x96A04005
hr=0x9AC04005
hr=0x9EE04005
hr=0xA3004005
hr=0xA7204005
hr=0xAB404005
hr=0xAF604005
hr=0xB3804005
hr=0xB7A04005
hr=0xBBC04005
hr=0xBFE04005
hr=0xC2004005
hr=0xC6204005
hr=0xCA404005
hr=0xCE604005
hr=0xD2804005
hr=0xD6A04005
hr=0xDAC04005
hr=0xDEE04005
hr=0xE7204005
hr=0xEB404005
hr=0xEF604005
hr=0xF3804005
hr=0xF7A04005
There is purely speculative assumption that put just in letter resaving. The problem arises at a tester on an exchange-account, at itself, alas, it was not possible to play back never. At a tester the problem too arises not always, however is played back stablly enough.
I understand, what operation with Outlook - that still , but can somebody already attacked a similar rake and knows, where here it is possible to spread straws?