November 2009 Release of MFCMAPI


The November 2009 Release (build 6.0.0.1016) is live: http://mfcmapi.codeplex.com.

The September 2009 release was downloaded over 18 thousand times, with nearly 1700 of them being the 64 bit build. This exceeded the July build by about 4000 downloads. Yay MFCMAPI!

Mostly bug fixes this time around. Win 7 finally made me dig into why Close All Windows wasn’t working, and I did a bit of work to make MFCMAPI a better multimon client.

Here’s a change list – see the Issue Tracker on Codeplex for more details, or look at the code:

  • Close All: Shutdown of contents table windows was swallowing the WM_CLOSE message for the other windows. Whoops!
  • Multimon: New windows and context menus now show on the same screen as their parent window, as they should.
  • Unicode Files: MFCMAPI can now handle files (like .msg or .eml files) that have Unicode characters in their names.
  • Property Editor: It’s now possible to manually insert CR/LF characters directly in the hex stream of a property and write the exact data you intended, as long as you don’t touch the text editor. This is to work around a bug/feature of the rich edit control that made reproducing certain issues impossible.
  • Smart View: Can now turn Smart View off if you’ve got a property that’s causing it to choke. Do continue to report these to me though!
  • Version selection: Did some work to make it clearer when you’re running the wrong version of MFCMAPI (32/64) for the version of MAPI you have.
  • Error Dialog Suppression: Identified a number of “error” dialogs that confused more than they helped and eliminated them. If there was an actual error it’s written to the debug output.
  • Tons of minor issues – 22 total bugs tied to this release, and those are just the ones that were worth calling out.

Enjoy.

Comments (6)

  1. Warren Brown says:

    I saw a note from somebody posted somewhere about GetMailboxTable not working against Exchange 2010. I don’t think there was any conclusive answer to it.

    I was wondering if you had any idea why it would not work. In particular, using the MFCMAPI Get Mailbox Table menu works fine against our Exchange 2007 and 2003 servers, but not against Exchange 2010.

    The error dialog shows MAPI_E_CALL_FAILED at line 660 in MFCUtilityFunctions.cpp.

    Many thanks.

  2. RE Exchange 2010: Wait for an update to the MAPI download some time in December to fix these issues.

  3. Huzaifa Kagazwala says:

    While applying a restriction RES_SUBRESTRICTION the Sub Restriction editor window has incorrect hex value for "0x0E120102 PR_MESSAGE_RECIPIENTS

    0x0E130102 PR_MESSAGE_ATTACHMENT" 0x0E130102 represents PT_BINARY shouldn’t it be 0x0E12000D i.e. PT_OBJECT?

  4. Jacques Dagousset says:

    The GetMailboxTable problem is fixed with the Mapi download 6.5.8147.

  5. W Brown says:

    Have you seen an issue with MFCMAPI (running with OutLook 2010 MAPI environment) crashing when opening an Ex2010 Online Archive store?

    I can double click on the store and get the window with the expandable tree into the store but then when I click on the ‘+’ to view it, the crash occurs.

    As far as I know there is nothing special about our Ex2010 installation or OutLook client installation.

    In particular, it throws an unhandled exception (Access violation reading location 0x00000022) in mapiFunctions.cpp::GetPropsNULL on the call to:

    WC_H(lpMAPIProp->GetProps(

    lpTags,

    ulFlags,

    lpcValues,

    lppPropArray));

    lpTags has 0x3a cValues

    Thank you.

  6. I think this is a bug in Outlook’s MAPI that should be fixed by RTM.