[python-win32] Why is Webware not using COM early-bound dispa tch?

Geoffrey Talvola gtalvola at nameconnector.com
Fri Oct 17 12:54:07 EDT 2003


Moof wrote:
> ...
> 
> This is because I'm tryign to assign a variable to what I
> thoguht was an
> early-bound COM object. So I'm wondering how to convince
> Webware to use
> early-bound COM objects.
>
> ...

I'm not sure why this isn't working.  Try using:

from win32com.client.gencache import EnsureDispatch

then use EnsureDispatch in place of Dispatch.  See if this makes any
difference.

- Geoff



More information about the Python-win32 mailing list