geon <[EMAIL PROTECTED]> writes:
> Does there exist any tutorial/manual about static vs. dynamic dispatch?
>
> Thank you
> Pavel
Mark Hammond's book "Programming Python on win32".
http://www.oreilly.com/catalog/pythonwin32/
A sample chapter is online:
http://www.oreilly.com/catalog/pythonwin32
Does there exist any tutorial/manual about static vs. dynamic dispatch?
Thank you
Pavel
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
[Michael Thompson]
> I've found the problem. Groan.
> Dynamic and Static dispatch differ WRT to case sensitivity.
You've probably realised but, just in case, the case-sensitivity
is a by-product of the fact that static dispatch actually
creates a Python module to act as a proxy for the COM objec
Michael Thompson wrote:
>
> Great. So dynamic dispatch works just fine. Except, of course, I can't
> get the 'constants' and its a bit inefficient, so I tried switching to
> static dispatch:
>
> >>> dispatch = win32com.client.gencache.EnsureDispatch
> >>> xlApp = dispatch('Excel.Ap
I've come across something puzzling about static dispatch. I've used
win32com a bit and normally understand what is going on, but I've stubed
my toe on something here that I just can't understand. It almost looks
like a bug ...
Dynamic dispatch works:
(First I go to 'C:\Python24\Lib\site-