View Single Post
  #4  
Old May 22nd 09, 07:39 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Could not retrieve IMessage: Interface not supported

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 retrieve IMessage: Interface not supported"


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


Any ideas?


Thanks,
Jeff



Ads