![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi,
I have a C# application in which I am using Redemption.dll version 4. 0.0.452.In this application I am trying to access Outlook 2003 MailItem, by setting that item as Redemption.SafeMailItem (sMailItem) .Trying to access sMailItem.To and later i am accessing Redemption.Recipient address.At that point this is sometimes giving Catastrophic Error(details below).Can you tell me why this is happening ? What is the solution? Error details “Details : Catastrophic failure At Redemption.SafeMailItemClass.get_To()” |
#2
|
|||
|
|||
![]()
Try to create and instantiate a global (class) variable that points to a
Redemption object - any object, such as Redemption.MAPIUtils. Based on the source code that you sent to my private e-mail address, you loop through multiple messages in Outlook and process them using SafeMailItem. Every Safe*Item (and MAPIUtils) object calls MAPIInitialize when created and MAPIUninitialize when destroyed. Due to a bug in MAPI, calling MAPIInitialize/MAPIUninitialize a few hundred times results in an error. Having a global Redemption object ensures that MAPI is initialized only once. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "jisha" u23608@uwe wrote in message news:62893529f8b54@uwe... Hi, I have a C# application in which I am using Redemption.dll version 4. 0.0.452.In this application I am trying to access Outlook 2003 MailItem, by setting that item as Redemption.SafeMailItem (sMailItem) .Trying to access sMailItem.To and later i am accessing Redemption.Recipient address.At that point this is sometimes giving Catastrophic Error(details below).Can you tell me why this is happening ? What is the solution? Error details "Details : Catastrophic failure At Redemption.SafeMailItemClass.get_To()" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Delivery Failure Notices | gayle | Outlook - General Queries | 1 | April 19th 06 01:44 AM |
sudden pop3 in and out failure | Docmoney | Outlook - Installation | 0 | April 2nd 06 04:15 PM |
hyperlink failure | Popster | Outlook - Installation | 1 | February 28th 06 07:20 PM |
failure notice | lcnlit | Outlook Express | 5 | January 20th 06 03:09 PM |
IE failure on PDF files | Desikan Srinivasan | Outlook Express | 2 | January 8th 06 11:33 AM |