Thanks, Tim.

Your depth of knowledge is appreciated.
I have never understood the "magic" which happens when you make a COM call.
Now it all makes sense why 32 and 64 bit COM are mutually incompatible.


On Wed, Dec 8, 2021 at 1:52 PM Tim Roberts <t...@probo.com> wrote:

> 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, t...@probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32@python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to