cognidox / OfficeToPDF

A command line tool to convert Microsoft Office documents to PDFs
https://www.cognidox.com/
Other
609 stars 137 forks source link

How about Multithreading? #49

Closed Sascha4j closed 4 years ago

Sascha4j commented 5 years ago

should it be possible to call the exe in a multithreaded environment? for example a server process which does batch converting

vittala commented 4 years ago

Hi

It may be possible but you should be aware that you may get blocking and problems if Office dialogs are present and you're trying to convert multiple Office documents of the same type (e.g. xlsx) at the same time.

You may want to read: https://docs.microsoft.com/en-us/visualstudio/vsto/threading-support-in-office?view=vs-2019

Regards Vittal