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
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?