View Single Post
  #5  
Old May 26th 09, 12:57 AM posted to microsoft.public.outlook.program_vba
Jeff
external usenet poster
 
Posts: 41
Default Could not retrieve IMessage: Interface not supported

On May 22, 2:39*pm, "Dmitry Streblechenko" wrote:
Yes, that is a strong indication that you have 2 versions of MAPI
installed - MailItem.MAPIOBJECT marshaling from the outlook.exe address
space to your app is done by the version of MAPI loaded by Outlook, while it
gets unmarshalled by another version of MAPI loaded by Redemption in your
app address space.

--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy *- Outlook, CDO
and MAPI Developer Tool
-"Jeff" wrote in message

...
I presume not, but I will double check. Also, I believe that we are
using Redemption 4.7, not 4.3 as I wrote in my original post.

The customer ran the Repair feature of Outlook 2007's installer, and
that did not help. It seems that all of our Outlook COM and Redemption
code works, except the Recipients property.

We installed a previous version of our product that uses a 2006-era
version of Redemption, and the errors went away.

We were able to duplicate the error message on a test machine by
installing Outlook 2007, then installing Outlook 2003, and then un-
installing Outlook 2003. The error went away once we Repaired Outlook
2007.

On May 20, 8:17 pm, "Dmitry Streblechenko" wrote:

Do you by any chnace have both Exchange Server and Outlook on the same
machine?


--
Dmitry Streblechenko (MVP)http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-"Jeff" wrote in message


....


On some of my customers' machines, I'm receiving the following error
when my code accesses the SafeMailItem.Recipients property:


"Could not retrieveIMessage: Interface not supported"


I'm using Redemption 4.3 via late binding and registration-free COM.


Any ideas?


Thanks,
Jeff


We've also been able to duplicate the error message by setting the
default mail client to be Outlook Express instead of Outlook 2007. I
suspect that is the cause of the issue that our customer is
experiencing, as they do have Outlook Express set to be the default
mail client for reasons I won't get in to.

If you have any suggestions based on that information, let me know. I
wanted to post this in case it helps some one else in the future.

Thanks,
Jeff

Are
Ads