[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
Wed Dec 8 15:42:47 EST 2021


Vernon D. Cole wrote:
> Most likely, you are running a 64  bit version of Python.
> Due to Windows restrictions, only 32 bit programs can talk to each other.

That comment demands clarification, because as stated it is quite 
misleading.

The issue here is that a 32-bit application can only load 32-bit DLLs.  
Outlook 2016 is a 32-bit application, so when it as a COM client tries 
to load an in-process COM server (that is, his add-in), the COM server 
DLL must also be 32-bit.

There are many, many ways that 32-bit and 64-bit programs can talk to 
each other.  This is a very specific instance.

-- 
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/20211208/cf9976f2/attachment.bin>


More information about the python-win32 mailing list