Re: Outlook Add-In Demo Question ... A runtime error occurred during the loading of the com add-in

Tim Roberts <[email protected]> Wed, 8 Dec 2021 12:42:47 -0800
Newsgroups gmane.comp.python.windows
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
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, [email protected]
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
smime.p7s (application/pkcs7-signature, 3.3 KB) - not displayed