MAPI Developer: MAPI call (lpFolder)->OpenEntry() takes 2 minutes to open messages in mailbox

Recently I was working with a MAPI developer and came across this interesting issue. We noticed their custom MAPI application takes 2 minutes to open the messages in a given mailbox. Further troubleshooting we noticed they see this behavior with the MAPI call, (lpFolder)->OpenEntry(). It takes 2 minutes to open messages in a given mailbox…


How to:Get MAPI Header and library files

Want to get and install MAPI header and library files? MAPI header and library files are included as part of the Microsoft Windows SDK. Once you have installed Microsoft Windows SDK, you can access MAPI header files by using Microsoft Visual Studio 2008. Before you can install MAPI header and library files, make sure that…