Hi, Thomas

Finally I make it to create a COM object:

class EventSink:
    def OnLoadFinished(self):
        print 'load finished'

o = comtypes.client.CreateObject("SomeObj2.SomeObj.1", sink=EventSink())

but the EventSink.OnLoadFinished() is never called, and I still donnot
know how to get an interface, :-(


On 11/14/06, Thomas Heller <[EMAIL PROTECTED]> wrote:
>
> comtypes can call custom com interfaces:
>
> http://www.python.org/pypi/comtypes
>
> The downside is that there are no docs, yet.
>
> Thomas
>

Bruce Who
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to