PC Review


Reply
Thread Tools Rate Thread

Creating Redemption.MAPIUtils failed with Windows 7 x64

 
 
Adrian Miller
Guest
Posts: n/a
 
      17th Dec 2009
Hi,

with Windows Vista x64 I was able to create the Redemption.MAPIUtils, how
ever this does not work with Windows 7 and Windows Server 2008 R2 in my
environment. Is a certain version required or anything else need to be
considered? Did anybody get this to work?

Thanks for any advice
Adrian

--
Adrian Miller


 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      18th Dec 2009
Do you have Outlook or teh standalone version of MAPI on the problematic
machine?
Keep in mind that the MAPIUtils object is being deprecated, use RDOSession
instead.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Adrian Miller" <(E-Mail Removed)> wrote in message
news:ul$(E-Mail Removed)...
> Hi,
>
> with Windows Vista x64 I was able to create the Redemption.MAPIUtils, how
> ever this does not work with Windows 7 and Windows Server 2008 R2 in my
> environment. Is a certain version required or anything else need to be
> considered? Did anybody get this to work?
>
> Thanks for any advice
> Adrian
>
> --
> Adrian Miller
>



 
Reply With Quote
 
Adrian Miller
Guest
Posts: n/a
 
      19th Dec 2009
Hi Dmitry,

thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET 2.0
app and Outlook is running in x86 mode. I'm actually using two methods. So
the solution would be to replace these as described below, right?
MAPIUtils.CurrentProfileName -> RDOSession.ProfileName
(http://www.dimastr.com/redemption/rdo/rdosession.htm)

MAPIUtils.Addressbook -> RDOSession.Addressbok
(http://www.dimastr.com/redemption/rd...ddressbook.htm)

Thanks for any advice in advance

Adrian

----
Adrian Miller

"Dmitry Streblechenko" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Do you have Outlook or teh standalone version of MAPI on the problematic
> machine?
> Keep in mind that the MAPIUtils object is being deprecated, use RDOSession
> instead.
>
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "Adrian Miller" <(E-Mail Removed)> wrote in message
> news:ul$(E-Mail Removed)...
>> Hi,
>>
>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils, how
>> ever this does not work with Windows 7 and Windows Server 2008 R2 in my
>> environment. Is a certain version required or anything else need to be
>> considered? Did anybody get this to work?
>>
>> Thanks for any advice
>> Adrian
>>
>> --
>> Adrian Miller
>>

>
>



 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      23rd Dec 2009
yes.
Also, what exacrly do you mean by "this does not work"?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Adrian Miller" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi Dmitry,
>
> thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET
> 2.0 app and Outlook is running in x86 mode. I'm actually using two
> methods. So the solution would be to replace these as described below,
> right?
> MAPIUtils.CurrentProfileName -> RDOSession.ProfileName
> (http://www.dimastr.com/redemption/rdo/rdosession.htm)
>
> MAPIUtils.Addressbook -> RDOSession.Addressbok
> (http://www.dimastr.com/redemption/rd...ddressbook.htm)
>
> Thanks for any advice in advance
>
> Adrian
>
> ----
> Adrian Miller
>
> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Do you have Outlook or teh standalone version of MAPI on the problematic
>> machine?
>> Keep in mind that the MAPIUtils object is being deprecated, use
>> RDOSession instead.
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Adrian Miller" <(E-Mail Removed)> wrote in message
>> news:ul$(E-Mail Removed)...
>>> Hi,
>>>
>>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils,
>>> how ever this does not work with Windows 7 and Windows Server 2008 R2 in
>>> my environment. Is a certain version required or anything else need to
>>> be considered? Did anybody get this to work?
>>>
>>> Thanks for any advice
>>> Adrian
>>>
>>> --
>>> Adrian Miller
>>>

>>
>>

>
>



 
Reply With Quote
 
Adrian Miller
Guest
Posts: n/a
 
      28th Dec 2009
Hi Dmitry,

thanks. The error is that running .NET Code in x86 mode on x64 that
Activator.CreateInstance does not instantiate MAPIUtils.

Thanks again
Adrian

--
Adrian Miller
"Dmitry Streblechenko" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> yes.
> Also, what exacrly do you mean by "this does not work"?
>
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "Adrian Miller" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Hi Dmitry,
>>
>> thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET
>> 2.0 app and Outlook is running in x86 mode. I'm actually using two
>> methods. So the solution would be to replace these as described below,
>> right?
>> MAPIUtils.CurrentProfileName -> RDOSession.ProfileName
>> (http://www.dimastr.com/redemption/rdo/rdosession.htm)
>>
>> MAPIUtils.Addressbook -> RDOSession.Addressbok
>> (http://www.dimastr.com/redemption/rd...ddressbook.htm)
>>
>> Thanks for any advice in advance
>>
>> Adrian
>>
>> ----
>> Adrian Miller
>>
>> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Do you have Outlook or teh standalone version of MAPI on the problematic
>>> machine?
>>> Keep in mind that the MAPIUtils object is being deprecated, use
>>> RDOSession instead.
>>>
>>> --
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy - Outlook, CDO
>>> and MAPI Developer Tool
>>> -
>>> "Adrian Miller" <(E-Mail Removed)> wrote in message
>>> news:ul$(E-Mail Removed)...
>>>> Hi,
>>>>
>>>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils,
>>>> how ever this does not work with Windows 7 and Windows Server 2008 R2
>>>> in my environment. Is a certain version required or anything else need
>>>> to be considered? Did anybody get this to work?
>>>>
>>>> Thanks for any advice
>>>> Adrian
>>>>
>>>> --
>>>> Adrian Miller
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      29th Dec 2009
Make sure your app is compiled as 32 bit only: since MAPI is 32 bit, and
Redemption loads it in-proc, Redemption must also be 32 bit. Which, since
Redemption is an in-proc COM library, requires that the calling app must be
32 bit.


--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Adrian Miller" <(E-Mail Removed)> wrote in message
news:uGvPbH%(E-Mail Removed)...
> Hi Dmitry,
>
> thanks. The error is that running .NET Code in x86 mode on x64 that
> Activator.CreateInstance does not instantiate MAPIUtils.
>
> Thanks again
> Adrian
>
> --
> Adrian Miller
> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> yes.
>> Also, what exacrly do you mean by "this does not work"?
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "Adrian Miller" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> Hi Dmitry,
>>>
>>> thanks for your advice. I have Outlook 2007 SP2 on the machine. My .NET
>>> 2.0 app and Outlook is running in x86 mode. I'm actually using two
>>> methods. So the solution would be to replace these as described below,
>>> right?
>>> MAPIUtils.CurrentProfileName -> RDOSession.ProfileName
>>> (http://www.dimastr.com/redemption/rdo/rdosession.htm)
>>>
>>> MAPIUtils.Addressbook -> RDOSession.Addressbok
>>> (http://www.dimastr.com/redemption/rd...ddressbook.htm)
>>>
>>> Thanks for any advice in advance
>>>
>>> Adrian
>>>
>>> ----
>>> Adrian Miller
>>>
>>> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message
>>> news:(E-Mail Removed)...
>>>> Do you have Outlook or teh standalone version of MAPI on the
>>>> problematic machine?
>>>> Keep in mind that the MAPIUtils object is being deprecated, use
>>>> RDOSession instead.
>>>>
>>>> --
>>>> Dmitry Streblechenko (MVP)
>>>> http://www.dimastr.com/
>>>> OutlookSpy - Outlook, CDO
>>>> and MAPI Developer Tool
>>>> -
>>>> "Adrian Miller" <(E-Mail Removed)> wrote in message
>>>> news:ul$(E-Mail Removed)...
>>>>> Hi,
>>>>>
>>>>> with Windows Vista x64 I was able to create the Redemption.MAPIUtils,
>>>>> how ever this does not work with Windows 7 and Windows Server 2008 R2
>>>>> in my environment. Is a certain version required or anything else need
>>>>> to be considered? Did anybody get this to work?
>>>>>
>>>>> Thanks for any advice
>>>>> Adrian
>>>>>
>>>>> --
>>>>> Adrian Miller
>>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
redemption MAPIUtils WLAN Microsoft Outlook Form Programming 3 24th Mar 2009 05:11 PM
Redemption MAPIUtils.GetItemFromID returns Nothing (2) Klemens Schmid Microsoft Outlook VBA Programming 3 15th Apr 2005 07:10 PM
Redemption MAPIUtils.GetItemFromID returns Nothing Microsoft Outlook VBA Programming 3 2nd Feb 2005 09:00 PM
Failed to resolve recipient in Redemption? Bingo Microsoft Outlook Form Programming 6 29th Nov 2004 08:38 PM
[Redemption OL2K] MAPIUtils.CreateRecipient Uses Exteremly High Volume Of Memory & Returns After Non-Logical Period Michael Zino Microsoft Outlook Program Addins 1 24th May 2004 11:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:30 AM.