none
Outlook ContactItem Event RRS feed

  • Question

  • Hello,
    can anybody help me with this problem:
    http://stackoverflow.com/questions/27662942/outlook-contactitem-deleteevent/27672970#27672970

    greetings
    Sunday, December 28, 2014 9:43 PM

Answers

  • You cannot use unmanaged C++in C# unless you wrap the C++ code as a COM object.

    I am not aware of any good Extended MAPI tutorials - MS has been trying to deemphasize Extended MAPI for years, even through it is very much supported and is the native API used by Outlook. Try to find a copy of "Inside MAPI" - it's been out of print since 1998, but it is the only comprehensive book on MAPI ever published.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 29, 2014 10:28 PM
  • Hi,

    >>Thanks for you reply could you provide some links to tutorial how the extended MAPI works in c++?<<

    Here is the link for the Outlook MAPI for your reference:

    Outlook 2013 MAPI Reference

    Hope it is helpful.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 5, 2015 9:52 AM
    Moderator

All replies

  • Have you seen my answer to you question there?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Sunday, December 28, 2014 9:57 PM
  • Yes thanks for your reply : )
    but I don´t want to buy an extra tool for that.
    Are there really no other possibilities for that? 
    Sunday, December 28, 2014 10:39 PM
  • You can either

    1. Use Items.ItemRemove event as a trigger to reconcile the present folder items with your cache to figure out which item got deleted.

    2. Switch to Extended MAPI (C++ or Delphi) that will give you the PR_INSTANCE_KEY property when fnevTableModified /  TABLE_ROW_DELETED event fires.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!


    Sunday, December 28, 2014 11:55 PM
  • Thanks for you reply could you provide some links to tutorial how the extended MAPI works in c++?
    I´m not very familia with c++...
    How can I use the c++ module in c#?
    greetings
    Monday, December 29, 2014 10:20 PM
  • You cannot use unmanaged C++in C# unless you wrap the C++ code as a COM object.

    I am not aware of any good Extended MAPI tutorials - MS has been trying to deemphasize Extended MAPI for years, even through it is very much supported and is the native API used by Outlook. Try to find a copy of "Inside MAPI" - it's been out of print since 1998, but it is the only comprehensive book on MAPI ever published.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    Monday, December 29, 2014 10:28 PM
  • Hi,

    >>Thanks for you reply could you provide some links to tutorial how the extended MAPI works in c++?<<

    Here is the link for the Outlook MAPI for your reference:

    Outlook 2013 MAPI Reference

    Hope it is helpful.

    Regards & Fei


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 5, 2015 9:52 AM
    Moderator