32bit-64bitoutlook-redemption

Outlook-Redemption issue with Outlook 32 bit on 64 bit machine


I'm having issues with redemption because Outlook 32 bit can be installed on a 64 bit machine. The RedemptionLoader doesn't determined the bit version of Outlook installed on a 64 bit machine. Has anyone run into this before?


Solution

  • RedemptionLoader does not determine Outlook bitness because it won't do you any good: it determines the bitness of the calling process and loads the appropriate version of Redemption (32 vs 64 bit), but that can raise an error if the bitness of your process/Redemption is different from the Outlook bitness. A 32 bit dll cannot be loaded by a 64 bit process.

    Or you can create an instance of the RDOSession object in the Outlook address space (where it is guaranteed to match the bitness of Outlook/MAPI) using Application.CreateObject in OOM (see the link below). The object will be out-of-proc of course, so it might be slower.

    See http://www.dimastr.com/redemption/faq.htm#ErrorCreatingRedemptionObject for more details.