NetOfficeFw/NetOffice

Is NetOffice supports multithreading?

oleh-yashchyshyn-agiliway opened this issue · 4 comments

I am using NetOfficeFw.Word and I am wondering is NetOfficeFw.Word supports multithreading?

Because, as I know, Interop objects are not multithreading.

You must always access Word API from main thread to ensure correct behavior.

@jozefizso I am using it in WPF application. Could you please suggest better approach then using Dispatcher in order to invoke on main thread?

@jozefizso I am using it in WPF application. Could you please suggest better approach then using Dispatcher in order to invoke on main thread?

You must use Dispatcher.