C++ client for using EWS RRS feed

  • Question

  • Hello,

    I am looking to write a simple C++ client to use EWS services.  Looking at EWS API usage, I see some references and sample code in C# and Java but nothing in C++. I am novice to ASP/EWS/MS environments. Can some one please point me to EWS C++ client API and sample code ?

    Thank you,


    Monday, April 29, 2013 7:30 PM

All replies

  • I've no good answer, I'm afraid, but I can confirm (having looked for some myself) that there seems to be zero C++ EWS example code out there. If you have anything working at all, I think you'd be doing the world a service by posting it up somewhere.

    Friday, May 3, 2013 11:27 AM
  • Sunil,

    Why C++ ? Do you have a specific design requirement that requires native code ? If it's simply that you are (or have a) C++ developer then I'd put it to you that it's time to make the switch. I've been developing with C/C++ for over 20 years (with many years of it MAPI32) and I found the switch to C# to be quite pleasant.

    Anyway, if you must do C++ some alternatives to consier:

    • Use managed C++ (C++ with .NET) but I warn you it's not a nice way to do .NET but at least it is .NET.
    • Build the code to interface to EWS in a small app stub or service and call it from your C++ application. I'd recommend this perhaps the easiest option.
    • Use Extended MAPI instead (I've done many years of Extended MAPI so I am biased). MAPI32 and C++ are a good match and can perform many of the functions of EWS and if you're not happy with MAPI32 then use "Outlook Redemption" (google it).
    • Use the WSDL and talk SOAP to Exchange with C++. The hard core option!!


    Scott Quinn

    Scott Quinn | C# developer & messaging specialist (for hire). Contact me at

    Wednesday, May 8, 2013 5:27 PM