J
juan
Hi!
I've written an outlook addin using ATL. In the
_IDTExtensibility2:OnConnection
event I traverse all folders and I sink an event for all of them to see
whether
new folders are created, and whether mails are added to them...
Problem is that users may have thousands of folders and in this case of
course
there will be a big delay at startup.
So what I did was to launch another thread and I do the sink logic in
this other thread...
I didn't get any error when calling the DispEventAdvise function... but
my function
is never called!
If I do the same logic from the original thread, it works....
Any idea?
I've written an outlook addin using ATL. In the
_IDTExtensibility2:OnConnection
event I traverse all folders and I sink an event for all of them to see
whether
new folders are created, and whether mails are added to them...
Problem is that users may have thousands of folders and in this case of
course
there will be a big delay at startup.
So what I did was to launch another thread and I do the sink logic in
this other thread...
I didn't get any error when calling the DispEventAdvise function... but
my function
is never called!
If I do the same logic from the original thread, it works....
Any idea?