getting folder change notifications in C++

D

David

I've got a VC++ COM addin loading and able to get the Namespace object and
from that the Folders object. Now I'd like to register to receive
notifications of changes to folders I'm interested in, but I can't find
anything that will take, say, an IAdvise pointer or some other callback. How
can I register my addin to be notified of folder changes?
 
D

Dmitry Streblechenko

Hook up the ItemAdd/ItemChange/ItemRemove events on the MAPIFolder.Items
collection.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top