[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
Mark Hammond wrote:
>Not from an external process, no - xpcom does not work across processes. If
>you wanted to write a Mozilla extension (ie, some "chrome"), then other work
>I am doing with the Mozilla guys will soon make this possible - you will be
>able to use Python whereever you can current
Does there exist any tutorial/manual about static vs. dynamic dispatch?
Thank you
Pavel
___
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
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
Good evening!
I have troubles with dynamic COM.
I made, with PyWin, a dynamic extension of my COM-server.
If I call the COM-server since VB-Script, it is OK, with the names of
functions (call) in small letters.
If I call the COM-server since ObjectPAL (Paradox), it is OK, with the names
of f
When Python code does:
obj.foo(1)
On a COM object that has no makepy support, Python will first query the
object if it has a *property* named 'foo' before it asks if it has a
*method* named foo. I suspect you are seeing this. To work correctly in
this case, Python will be expecting the property
> Mark Hammond wrote:
>
> >Not from an external process, no - xpcom does not work across
> processes. If
> >you wanted to write a Mozilla extension (ie, some "chrome"),
> then other work
> >I am doing with the Mozilla guys will soon make this possible -
> you will be
> >able to use Python whereeve
Hi!
>>> Python will first query the object if it has a *property* named 'foo'
>>> before it asks if it has a *method* named foo. I suspect you are seeing
>>> this.
Yes, you are right!
Python send wFlags=pythoncom.DISPATCH_PROPERTYGET
With your advice, I had found than :
if wFlags &