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

Tim Roberts timr at probo.com
Thu Dec 9 13:27:04 EST 2021


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3389 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://mail.python.org/pipermail/python-win32/attachments/20211209/d448535e/attachment.bin>


More information about the python-win32 mailing list