 <p>Error code <code>0x800401FA</code> is <code>CO_E_WRONGOSFORAPP</code>.</p> <p>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. </p> <p>Extended MAPI is a set of dlls loaded in-proc, and a 64 bit process cannot load a 32 bit dll and vice versa.</p> <p>See <a href="http://www.dimastr.com/redemption/faq.htm#ErrorCreatingRedemptionObject" rel="nofollow">http://www.dimastr.com/redemption/faq.htm#ErrorCreatingRedemptionObject</a> for more details.</p>