使用 RedemptionLoader 创建新的 RDOSession 时出错

Error when creating new RDOSession using RedemptionLoader

下面是我的代码:

RDOSession pstSession = null;
string binPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
RedemptionLoader.DllLocation64Bit = Path.Combine(binPath, "Redemption64.dll");
RedemptionLoader.DllLocation32Bit = Path.Combine(binPath, "Redemption.dll");
pstSession = RedemptionLoader.new_RDOSession();

Error logged is: System.Runtime.InteropServices.COMException (0x8004010F): Creating an instance of the COM component with CLSID {29AB7A12-B531-450E-8F7A-EA94C2F3C05F} from the IClassFactory failed due to the following error: 8004010f Exception from HRESULT: 0x8004010F.

搜索了错误代码,但无法获得太多信息。可能是什么问题?该问题并未在每台机器上重现。

0x8004010FMAPI_E_NOT_FOUND,这很可能意味着 Redemption 无法找到 MAPI 系统,因为它不存在(必须安装 Outlook)或位数错误。有关详细信息,请参阅 http://www.dimastr.com/redemption/faq.htm#ErrorCreatingRedemptionObject