[python-win32] Outlook Add-In Demo Question ... A runtime error occurred during the loading of the com add-in

Vernon D. Cole vernondcole at gmail.com
Wed Dec 8 08:48:24 EST 2021


Most likely, you are running a 64  bit version of Python.
Due to Windows restrictions, only 32 bit programs can talk to each other.
If you download and install a 32 bit version of Python, you may find
success.
PyCharm and Windows will happily allow multiple versions of Python to work
alongside each other.
Select your Python version under File --> Settings --> Project --> Python
Interpreter


On Tue, Dec 7, 2021 at 8:30 PM Dan Moisan <drmoisan at gmail.com> wrote:

> I apologize in advance for the basic question, but I have spent about 40
> hours researching how to make the demo "outlookAddin.py" load on my Outlook
> 2016 32 bit application. I am running Python version 3.7 and I can
> successfully run the outlookAddin.py script from PyCharm. But then when I
> open outlook, I always receive the message "... not loaded. a runtime error
> occurred during the loading of the com add-in".
>
> I am sure that I missing a very basic step to make this run, but I can't
> seem to find anything online. Do I need to do something to compile the
> outlookAddin.py script before or after I run it? Or should the add-in load
> after it is registered? I'm so sorry for such a basic question.
>
> Thank you!
>
> Dan
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20211208/cdc53986/attachment.html>


More information about the python-win32 mailing list