none
Is it possible to program Exchange 2010 using C++ RRS feed

  • Question

  • Hello,

    Is it possible to read calender items from mailbox from Exchange server 2010 using Exchange web services in C++?

    I searched a lot on the net but could hardly find anyone who has written anything about C++ and all the examples in C#.
    Is it possible to write an application for Exchange 2010 using C++?

    But I couldn't even find any header files in the Exchange 2010 SDK installation that declare these classes for C++.

    Any help would be greatly appreciated.

    Thanks
    Jyotha

    Tuesday, November 15, 2011 11:00 AM

All replies

  • Hello,

    Is it possible to read calender items from mailbox from Exchange server 2010 using Exchange web services in C++?

    I searched a lot on the net but could hardly find anyone who has written anything about C++ and all the examples in C#.
    Is it possible to write an application for Exchange 2010 using C++?

    But I couldn't even find any header files in the Exchange 2010 SDK installation that declare these classes for C++.

    Any help would be greatly appreciated.

    Thanks
    Jyotha

    I laso have same question as yours and curious about the answer from experts!
    Wednesday, November 16, 2011 6:06 AM
  • From managed code, EWS is the only viable solution. And I think it's much simpler to use. But then, I don't know how difficult it's from C++ to call WebServices.

    Nice thing about EWS is that you practically get something like an Outlook object model.  Another option would be Outlook Redemption (http://www.dimastr.com/redemption/), a COM based wrapper around MAPI.

    There are no header files for EWS. You'll have to build the XML yourself. In .NET, we have a tool which generates proxy classes for Webservices using the WSDL of the service. I don't know if there is such a tool for C++.

    Kind regards,
    Henning

    If you get your question answered, please come back and mark the reply as an answer.
    If you are helped by an answer to someone else's question, please mark it as helpful.

    Wednesday, November 16, 2011 9:46 AM
  • Jyotha,

    Seriously C# is the best tool for Exchange 2007 / 2010 development.

    Why would you want to use a less appropriate one?

    Managed C++ is ugly and if you know C++ already then C# is a breeze.

    Regards,

    Scott Quinn

    p.s. if you're talking about one specific calendar then you could use Extended MAPI in which case C++ is the way to go.

    Thursday, November 17, 2011 12:48 AM