[python-win32] Outlook Add-In Demo Question ... A runtime error occurred during the loading of the com add-in
Vernon D. Cole
vernondcole at gmail.com
Wed Dec 8 17:02:02 EST 2021
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 <timr at 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, timr at probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> https://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20211208/59c309c1/attachment.html>
More information about the python-win32
mailing list