Step-by-Step : Accessing Exchange mailbox using Exchange MAPI/CDO and MFCMAPI

One of my customer updated that he downloaded the MFCMAPIat his Exchange Server 2010/2013, when he ran he noticed the following error – he wanted to access the exchange mailbox programmatically. Then he noticed the following error as well: To start with he needs Exchange MAPICDO, as Microsoft Exchange MAPI and CDO 1.2.1 provide access…


C++/ATL Project throws error C2061: syntax error : identifier ‘_ATL_FUNC_INFO’

One of my customer reported that they created a ATL Project/MFC CDHtmlDialog based C++ application and they notice the following errors in afxdhtml.h (they created it using VS 2003). afxdhtml.h(272) : error C2238: unexpected token(s) preceding ‘;’ afxdhtml.h(289) : error C2061: syntax error : identifier ‘_ATL_FUNC_INFO’ afxdhtml.h(290) : error C2061: syntax error : identifier ‘_ATL_FUNC_INFO’…


MFC MAPI: How to view GAL entries

You can download the latest MFC MAPI utility to view GAL entries, which uses the Messaging API to provide access to MAPI stores through a graphical user interface. Try the following steps: 1) Open MFC MAPI utility. Select Session menu and select “Logon and Display  Store table” ( I chosen for this session). It will…


Visual Studio 2010 & New C++ and MFC features

I want to share some important new features of new Visual Studio 2010 for C++ development – Visual Studio 2010 presents huge benefits for C++ developers. From the ability to employ the new features offered by Windows 7 to the enhanced productivity features for working with large code bases, there is something new and improved…


Nutshell: Automation using # imports with Exchange Server environment is good or bad?

Automation using # imports ? As you know, Automation (OLE Automation), the technology that allows you to take advantage of an existing program’s functionality and incorporate it into your own applications. This technology can greatly simplify and speed up your development. # imports: In C/C++ preprocessor, we have a directive called "#imports" is available. Using…