Up until today, the first rule of 64 bit MAPI was we don’t talk about 64 bit MAPI. But now we can talk about it. 64 bit MAPI has arrived!
We just released the Outlook 2010 MAPI Reference today. If you develop MAPI based applications, you’ll want to get the updated MAPI Headers that come with it. You’ll need these if you want to rebuild your application for 64 bit. We’ve also prepared an article on building MAPI applications for both 32 bit and 64 bit platforms. This article is based in part on my experience building MFCMAPI as a 64 bit application. Since we don’t provide a 64 bit mapi32.lib, to build a 64 bit MAPI application you’re going to have to use explicit linking, building on the documentation we included in the Outlook 2007 MAPI reference.
Oh yeah – that reminds me – MFCMAPI builds as a 64 bit application! Actually, it’s been possible to build MFCMAPI as 64 bit for years. I slipped those project types in a long time ago and have been quietly maintaining them, even before I had an actual 64 bit build of MAPI I could test against. The next release of MFCMAPI will include a 64 bit build of the project, but if you want a 64 build now, just download the source and build it yourself.
"More properties—Documentation for an additional 38 tagged properties and named properties has been added to this release."
Well, at least we got a count of new properties :) Any word on what these properties are?
This sounds like progress to me. I have one small question which is that for years Microsoft have warned developers not to use the Outlook version of MAPI for serious MAPI applicatons such as server side applications. Are you now saying Outlook MAPI is safe for such applications?
Excellent stuff, great to hear this - are there any plans for a 64-bit standalone MAPI download as well? :-)
It was the case some time ago that Outlook MAPI was considered unsuitable for intense, multi-threaded MAPI applications, and that downloadable MAPI should be used instead.
I assume that's still the case? If so, it's a shame as it would be nice to be able to run busy MAPI services as 64 bit apps, and I don't suppose the downloadable MAPI team are going to rebuild as a 64 bit library any time soon.
Thanks for the update,
Considering Outlook's MAPI is the only one seeing active development, I would say the old preference of Exchange's MAPI over Outlook's MAPI no longer applies. Outlook itself does some intense, multi-threaded MAPI work.
There are NO plans for a 64 bit MAPI download. The 32 bit MAPI download will see no further development and will NOT be made available as 64 bit.
Excellent. Good to see Microsoft supporting Extended MAPI. This was the right thing to do.
Yes, absolutely excellent!
For fast, in-depth and Exchange-Server-portable coding MAPI has always been the way to go. Good to hear that it lives on!
Do you know whether this version of MAPI would happily co-exist with the CLR in the same process and whether that'd be a supported configuration?
Are there plans to release a lib file to implicitly link against for 64-bit when OL 2010 comes out, or are we going to have to use the explicit linking you mentioned?
The plan at this time is to use explicit linking. We're not planning on producing a .lib file, though we may still decide to produce files to help with explicit linking. In the meantime, check out the Outlook 2010 samples I posted on Codeplex. The header/cpp file they use for explicit linking should be pretty easy to rip out and apply to your project.
Interesting stuff! I have two questions:
1- With this new Outlook 2010 and associated MAPI, and since the downloadable MAPI won't be around for long, is it now ok to install Outlook 2010 on an Exchange server to get [64-bit] MAPI? (e.g. Exchange 2007/2010 Hub Transport).
2- Actually, would it have been ok to install Outlook 2007?
Thanks, and regards
Phillipe - definitely yes on the second question (Outlook 2007). Outlook 2010 isn't officially out yet, so I can't say it would be supportable right now to install it on the server for 64 bit MAPI, but most likely it will be supported come RTM.
Is the offline API (introduced with OL2003) still supported on 64 bit MAPI with Outlook 2010?
I ask because I can get it work on 32 bit Outlook, but not 64 bit?
I wouldn't expect it to not work.
Steve, is there a reason _WIN64 is not defined in MFCMAPI c++/preprocessor section ( for x64 configurations )? I looked quickly through new MAPI headers and some of them actually look for the #define.