Answered by:
MAPI service provider issues

Question
-
Is MAPI supported on 64 bit systems?
CreateMsgService is failing with 0x80004005 on windows 7 / 64 bit
We are using Outlook 2007
Monday, May 3, 2010 5:43 PM
Answers
-
if your outlook is 32bit, then you don't 64bit MAPI.
Are you running the MAPI code in a service?
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- Marked as answer by jialge_msftMicrosoft employee Friday, May 14, 2010 2:24 AM
Tuesday, May 4, 2010 2:41 AM
All replies
-
if you are using 64-Bit Outlook, rebuild your application to target 64bit.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVPMonday, May 3, 2010 7:00 PM -
As far as I know Outlook 2007 is 32 bit. Isn't only Outloook 2010 64 bit?
Tuesday, May 4, 2010 1:26 AM -
if your outlook is 32bit, then you don't 64bit MAPI.
Are you running the MAPI code in a service?
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- Marked as answer by jialge_msftMicrosoft employee Friday, May 14, 2010 2:24 AM
Tuesday, May 4, 2010 2:41 AM -
No this is code is a separate process outside of our main app but it does not run as a service.Tuesday, May 4, 2010 4:00 PM
-
Thanks to Sheng's reply. I think that Sheng is saying:
http://msdn.microsoft.com/en-us/library/dd941355(office.14).aspx
64-Bit MAPI Application and 32-Bit Outlook
64-bit MAPI applications are not supported to run on a computer installed with 32-bit Outlook and 32-bit or 64-bit Windows. The application developer must update and rebuild the application as a 32-bit application to work with 32-bit Outlook. Use the updated MAPI header files, which you can download at Outlook 2010: MAPI Header Files. Developers can use this same set of MAPI header files to build both 32-bit and 64-bit MAPI applications.
Regards,
Jialiang Ge
MSDN Subscriber Support in Forum
If you have any feedback of our support, please contact msdnmg@microsoft.com.
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.Friday, May 14, 2010 2:23 AM