AlJohri / docx2pdf

MIT License
506 stars 96 forks source link

Fix for using Pyinstaller with Doxc2pdf #28

Open chip-davis opened 3 years ago

chip-davis commented 3 years ago

When creating an executable using Pyinstaller, docx2pdf will fail to load due to an error with CoInitialize.

AlJohri commented 2 years ago

Can you explain this a little bit more? What exactly does CoInitialize do here? Does it affect using the package outside of Pyinstaller?

chip-davis commented 1 year ago

Sorry I somehow never saw this. Honestly, it was so long ago I don't remember what exactly it did or led to me discovering it i just know it fixed my problem haha.