G
Guest
Hello all,
In my outlook add-in, I want to catch the event when adding items to some
folders (e.g. Deleted Items in all PSTs).
My solution depend on monitoring the Items collections of these folders.
I inherited my class from IDispEventSimpleImpl to handle the
Outlook::ItemsEvents.
Now, can I use this class (just one) to monitor more than a folder items? I
noticed that if I called the DispEventAdvise more than a time it returns
E_UNEXPECTED. How can I do this knowing that the number of folders I want to
monitor is not fixed.
In my outlook add-in, I want to catch the event when adding items to some
folders (e.g. Deleted Items in all PSTs).
My solution depend on monitoring the Items collections of these folders.
I inherited my class from IDispEventSimpleImpl to handle the
Outlook::ItemsEvents.
Now, can I use this class (just one) to monitor more than a folder items? I
noticed that if I called the DispEventAdvise more than a time it returns
E_UNEXPECTED. How can I do this knowing that the number of folders I want to
monitor is not fixed.