CreateObject("Redemption.RDOSession") 返回错误代码 800401FA [英] CreateObject("Redemption.RDOSession") returns error code 800401FA

查看:29
本文介绍了CreateObject("Redemption.RDOSession") 返回错误代码 800401FA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在尝试在我的脚本中使用兑换库,但无法加载它.

I'm trying to use the redemption library in my script now and I can't load it.

Set m_objRDOSession = CreateObject("Redemption.RDOSession")

我也试过像下面这样直接加载

I have also tried to load it directly like the following

Set m_objRDOSession = GetObject("Redemption.dll", "Redemption.RDOSession")

相同的错误代码,带有空消息和来源.

Both the same error code, with null message and source.

我使用的是 windows 64 位和 Outlook 32 位.我已经在同一台机器上使用 c# 和赎回加载器成功加载了库.

I'm using windows 64 bit with outlook 32 bit. I have successfully loaded the library with c# and the redemption loader on the same machine.

PS:我应该提一下,我在抛出错误之前看到了条款和协议提示.

PS: I should mention that I saw the terms and agreement prompt before the error got thrown.

我能做什么?

推荐答案

错误代码 0x800401FACO_E_WRONGOSFORAPP.

如果机器是 64 位,您最终将使用 64 位版本的 cscript.exe,但您的代码位数必须与 Outlook 的位数相匹配 - 使用 SysWow64 文件夹中的 cscript.exe.

If the machine is 64 bit, you will end up using the 64 bit version of cscript.exe, but the bitness of your code must match the bitness of Outlook - use cscript.exe from the SysWow64 folder.

扩展的 MAPI 是一组在进程中加载​​的 dll,64 位进程无法加载 32 位 dll,反之亦然.

Extended MAPI is a set of dlls loaded in-proc, and a 64 bit process cannot load a 32 bit dll and vice versa.

参见 http://www.dimastr.com/redemption/faq.htm#ErrorCreatingRedemptionObject 了解更多详情.

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

这篇关于CreateObject("Redemption.RDOSession") 返回错误代码 800401FA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆