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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top