Update hidden field in a thread

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

Hello,

I am planning to spawn a seperate thread to update the hidden field in
of MAPIFolder in the background when I was on someting. I heard that Outlook
is single threaded. Would this possible to be implemented then?

regards,
Anthony
 
Yes, but the calls to Outlook COM objects will be rerouted to the main
Outlook thread.
Why exactly do you need this? What takes so long to warrant a separate
thread?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
It is a time based process whereby it will get trigger every interval.
However, the process could be executed by user demand, which is by a click
of a button. I am just worry it will crash each other for wanting the same
hidden field when it happens concurrently, time based execution crash with
user demand.
 
Do you mean you are using a timer? Timer is executed on the same thread
(unless you explicitly create a new thread of course).

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