[python-win32] Arrays in Python Com servers
Mark Hammond
mhammond at skippinet.com.au
Sat May 3 22:17:00 EDT 2003
> I suggest Mark's book, Python Programming on Win32. There is
> quite a bit on
> dealing with COM.
> I am only 100 pages into the book, so I can't comment too much.
Thanks :) It should simply be a matter of returning a list (not tuple) of
floats from your function. As there is no typelib, everything is dynamic,
so should "just work" using any compatible type in the array you choose.
> Did you mean win32 events? I don't see that in the book
> anywhere (and I
> could be wrong). There have been some message threads on this
> subject I've
> seen in the mail archives.
Unfortunately, event support missed the book. Fortunately it isn't that
hard - see the docstrings for win32com.client.DispatchWithEvents, or
win32com\test\test_*events*
Mark.
More information about the Python-win32
mailing list