Is NetOffice supports multithreading?
oleh-yashchyshyn-agiliway opened this issue · 4 comments
oleh-yashchyshyn-agiliway commented
I am using NetOfficeFw.Word and I am wondering is NetOfficeFw.Word supports multithreading?
Because, as I know, Interop objects are not multithreading.
jozefizso commented
You must always access Word API from main thread to ensure correct behavior.
oleh-yashchyshyn-agiliway commented
@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 commented
@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.
oleh-yashchyshyn-agiliway commented
@jozefizso Thank you