Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » MFCMAPI   (RSS)

Exchange MAPI and the Form Manager

Had a customer contact me recently asking why MAPIOpenFormMgr doesn’t work with the Exchange MAPI download . Actually, it wasn’t working in Exchange 2003 either. I’m not sure exactly when it last worked in Exchange’s implementation of MAPI. We might have

So Long Mapi Editor…And Thanks For All The Fish

I’ve touched on the history of MFCMAPI before . The rebranding of MFCMAPI as MAPI Editor and posting it on the Microsoft Download site back in 2006 served a purpose, one for which at the time there were few alternatives. However, since then, I have taken
Posted by Stephen Griffin | 2 Comments
Filed under: , ,

(Less Than) Portable Search Folders

Let’s have fun with the object model and search folders: Outlook running a profile in online mode. Create this macro: Sub TestAdvancedSearchComplete()     Dim sch As Outlook.Search     set sch = Application.AdvancedSearch("Inbox",

May 2009 Release of MFCMAPI

The May 2009 Release (build 6.0.0.1013) is live: http://mfcmapi.codeplex.com . The coolest new feature has to be the addition of Smart View parsing to the Hex Editor. I actually had the idea to do this the morning I published the March 2009 release, but

UST and Long File Names

I think this will be the last article to come from James’ post on debugging MAPI (previous posts here , here , and here ). This last one bit me when I was trying to gather a UST trace from a customer. Here’s the deal: The image file name associated with

March 2009 Release of MFCMAPI

The March 2009 Release (build 6.0.0.1012) is live: http://mfcmapi.codeplex.com . Note the new URL – the old one still works. At the urging of Jason , I’ve added parsing of entry IDs per the protocol docs . Here's a change list - see the Issue Tracker
Posted by Stephen Griffin | 3 Comments
Filed under: , ,

UST and 64 Bit Machines

Digging more into lessons learned from James’ blog on analyzing memory usage (my first two articles are here and here ). Today we take a side trip into 64 vs. 32 bit. While we were working on this issue, I decided to get some UST enabled dumps of MFCMAPI

Crash Running MFCMAPI Overnight

So – one of my teammates tells me that if he leaves MFCMAPI running overnight, it has usually crashed by the time he comes in the next morning. We got a few dumps, but they were inconclusive since the stacks were completely different every time. Since
Posted by Stephen Griffin | 5 Comments
Filed under: , ,

Kernel Debugging MFCMAPI

I noticed recently that one on of my machines, whenever I ran MFCMAPI and displayed one of my CEditor dialogs, the whole machine froze for 1 to several minutes. I figured this would be a fun opportunity to practice my kernel debugging skills and share

Reading an RTF Stream

Suppose you’ve gotten a stream from WrapCompressedRTFStream and want to read what’s in it. Your code might look something like this: #define MAXBYTES 256 void ProcessStream(LPSTREAM lpStream) { HRESULT hRes = S_OK; BYTE bBuf[MAXBYTES]; ULONG ulNumBytes

Ignoring Notifications

Suppose you want to register for notifications on all the visible folders in a user’s mailbox. One option would be to walk the list of folders in the hierarchy tree and register for notifications. That would work, but would be very inefficient. It also

Detecting a Password Protected PST

If you’ve been working with PSTs for a while, you’re probably familiar with the properties PR_PST_PW_SZ_OLD and PR_PST_PW_SZ_NEW, given in mspst.h, which are used to access password protected PSTs and also to change the password. I had a customer recently

January 2009 Release of MFCMAPI

The January 2009 Release (build 6.0.0.1011) is live: http://www.codeplex.com/MFCMAPI Mostly bug fixes this time around. Most prominent was the inability to add a property to an item. Also, the Property Tag Editor needed some serious TLC. Here's a change
Posted by Stephen Griffin | 0 Comments
Filed under: , ,

Welcome to the Outlook 2007 MAPI Reference

The Outlook 2007 MAPI Reference just went live on the MSDN. The docs are propagating their way through the servers, and should start showing up in the table of contents and searches soon. [update: propagation is complete - Live and Google should reindex

November 2008 Release of MFCMAPI

The November 2008 Release (build 6.0.0.1010) is live: http://www.codeplex.com/MFCMAPI While we were working on the site for the Outlook MAPI Samples I mentioned that Codeplex allows projects to have a logo, and asked if anyone had any ideas. Next thing
Posted by Stephen Griffin | 4 Comments
Filed under: , ,
More Posts Next page »
 
Page view tracker