multithreaded access to Word application

S

Steven Van Loon

I have a question about multithreading and Word.

I assume that it is not safe to allow different threads access to the same
word instance. (is it ?) But is it safe to allow different threads access to
different word instances ? So each thread would use its own Word instance.

Thanks!
Steven.
 
C

Chango V.

You should be able to make Word API calls from different threads, as long as
each one uses properly marshaled interface references. Word's API is
single-threaded, but COM will take care of serializing concurrent calls.

You can also use multiple Word instances.

//
 
S

Steven Van Loon

Thank you!

Chango V. said:
You should be able to make Word API calls from different threads, as long as
each one uses properly marshaled interface references. Word's API is
single-threaded, but COM will take care of serializing concurrent calls.

You can also use multiple Word instances.

//

access
 
Top