Thread: Multithreading
View Single Post
  #2  
Old September 18th 08, 10:12 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Multithreading

No, you need to marshal the OOM interfaces to the main Outlook thread.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Stuart Parker" wrote in message
...
Hi

I have an add-in that presents the user with a VB form. The form allows
the user to supply a filter for messages to move to an archive folder. I
want to provide feedback on the progress of the move process via a
progress bar. Can I safely use a backgroundworker to farm off the move
process and update the progress bar using the backgroundworker's
reportprogress method.

Basically, is moving items safe when executed from a backgroundworker ?

Cheers



Ads