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

Steven Manross steven at manross.net
Thu Dec 9 14:01:16 EST 2021


Thanks for verifying!

Mine is a Desktop version...  not 365 (installed with Product Key not subscription as part of Office Professional Plus 2019)

Steven
-----Original Message-----
From: python-win32 <python-win32-bounces+steven=manross.net at python.org> On Behalf Of Tim Roberts
Sent: Thursday, December 09, 2021 11:27 AM
To: python-win32 <python-win32 at python.org>
Subject: Re: [python-win32] Outlook Add-In Demo Question ... A runtime error occurred during the loading of the com add-in

Steven Manross wrote:
> Correct me if I am wrong...  but Office 2010+ comes in 64-bit and 32-bit versions.  I know that 2019 definitely does.

Both are available, but until Office 2019 the 32-bit version was the default, so that's what virtually everyone has.


> Providing he matches his Python architecture (32 or 64) to his Office application architecture (32 or 64), it should work unless that code has issues working in 64-bit mode?  I haven’t tried this myself in this particular case, as I've always installed 32-bit Office apps.

Right.


> Its possible that my Office 2019 install doesn’t have the correct components or APPIDs or CLSIDs installed (even if I matched the python and office architectures) as I searched for them and couldn’t find them in the native x64 and x86 registry subkeys:
>
> * HKEY_CLASSES_ROOT
> * HKLM\Software\Classes
> * OR HKLM\Software\Wow6432Node\Classes

Is this the desktop versions or the Office 365 versions?  There are 
differences.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list