Threading creates issues in OL 2000
Hi all,
I have already posted this question on add-in dev group. Posting here
to make sound for some more add-in devs.
My add-in creates one thread which processes mail and then moves it to
one particular folder.
My code is working fine with Outlook 2003.
While debugging with Outlook 2000 I observed that Outlook could not
copy or move any mail item in thread. If I do this without using
separate thread, move and copy just works fine.
On one of the post in the same newsgroup I read that you have to use
"CoGetInterfaceAndReleaseStream" api to use the application pointer in
the thread. So i have tried that also. But now my application unable to
release any Com pointer in the same thread and results in to the
Outlook hang.
If anyone faced same problem earlier, please help.
Thanks and regards,
Vinayakc
|