V
Vladimir Chtchetkine
Hi everybody!
Pretty much generic question How do I do my own multithreading in
Outlook? Straight forward path has failed (just as I suspected If
I create my own thread (using SDK's _beginthreadex call) there are
certain operations that lead to disaster For instance, when I try
to get Actions (pretty much innocent, huh?) on a Mail item that I just
created (in the context of the same thread) Outlook throws "Unable to
install custom action" (or something similar to that) msg box and
hangs.
I tried (in three different attempts) to call CoInitialize,
CoInitializeEx(multithreaded) OleInitialize in the beginning of my
thread execution but neither one seemed to be able to change anything.
So, HOW DO I DO multithreading in Outlook?
TIA,
Vladimir
Pretty much generic question How do I do my own multithreading in
Outlook? Straight forward path has failed (just as I suspected If
I create my own thread (using SDK's _beginthreadex call) there are
certain operations that lead to disaster For instance, when I try
to get Actions (pretty much innocent, huh?) on a Mail item that I just
created (in the context of the same thread) Outlook throws "Unable to
install custom action" (or something similar to that) msg box and
hangs.
I tried (in three different attempts) to call CoInitialize,
CoInitializeEx(multithreaded) OleInitialize in the beginning of my
thread execution but neither one seemed to be able to change anything.
So, HOW DO I DO multithreading in Outlook?
TIA,
Vladimir