"Universal Gateway"

Thomas Heller theller at python.net
Thu Nov 7 07:17:59 EST 2002


"Neil Hodgson" <nhodgson at bigpond.net.au> writes:

> Thomas Heller:
> 
> > With this module available, and an additional com foundation
> > which is included in it's test directory, Neil's sample
> > can be written in this way:
> 
>    That's much nicer than my code.

Thanks, but that isn't your fault ;-)

> 
> > I didn't advertise my ctypes module, because the documentation is not
> > yet complete, and I probably don't have the time to support it.
> 
>    It can take a lot of time to support open source code but this deserves
> wider distribution. If I was working on Windows (I'm currently stuck on
> Linux) I'd certainly want to use this module as it moves beyond calldll
> allowing much clearer and maintainable code. A good improvement would be to
> read type libraries to build the message lists and argument descriptions.

Right. (dynamic) makepy, the ctypes way.

I didn't intend to write just another COM framework, but it's fun to
do it, and I had to test this stuff anyway. The test directory
mentioned above also contains a dynammic Dispatch client
implementation which is able to drive MS Word with some stuff I got
from Mark's demos.

Maybe calling custom COM interfaces is the first hole this module can
fill up.

Ok, it seems I cannot escape, now that ctypes also was mentioned in
the Daily Python-URL, so I will also announce it here, after some
cleanup.

Thomas



More information about the Python-list mailing list