mapisendmail

32-bit MAPI app with 64-bit Outlook

∥☆過路亽.° 提交于 2019-12-22 09:09:12
问题 The 32-bit version of our app is unable to send email using MAPISendMail with 64-bit Outlook installed. It returns an error 0x80004005, about which I can find little information beyond the fact that it seems to be a MAPI initialization error. According to this MSDN document, MAPISendMail is the one exception to the rule that 32-bit apps can't use 64-bit MAPI. And yet it doesn't work (at least with XP and Vista--we haven't tested Win7/8 yet). Can anyone shed any light on this? TIA 回答1: There

32-bit MAPI app with 64-bit Outlook

做~自己de王妃 提交于 2019-12-05 17:51:53
The 32-bit version of our app is unable to send email using MAPISendMail with 64-bit Outlook installed. It returns an error 0x80004005, about which I can find little information beyond the fact that it seems to be a MAPI initialization error. According to this MSDN document , MAPISendMail is the one exception to the rule that 32-bit apps can't use 64-bit MAPI. And yet it doesn't work (at least with XP and Vista--we haven't tested Win7/8 yet). Can anyone shed any light on this? TIA There are no exceptions: a 32 bit process cannot load a 64 bit dll. When you have the 64 bit version of Outlook,