[python-win32] How to implement a COM interface (that is not part of a COM class)

2006-09-13 Thread Ken Channing
Hi -- the COM object I'm working on has a number of methods I am able to use fairly well by following the various win32com examples around. However, one of the methods' arguments takes a callback that "implements an interface" (I'm new to win COM terminology but I think this phrase has a specific

Re: [python-win32] How to implement a COM interface (that is not part

2006-09-20 Thread Ken Channing
Thanks for your help -- I searched around some more and I think I have the basic idea down -- if you want to implement a COM interface, it should look something like this: Use makepy -i to generate a file from the typelib containing the interface definition. In my case the file generated is named:

Re: [python-win32] How to implement a COM interface (that is notpart

2006-09-21 Thread Ken Channing
> Try adding useDispatcher=1 as a param to wrap. That will cause the object > to use a "debug" dispatcher, and should spew print statements to > win32traceutil - ie, the same as if the object was registered with "--debug" > (but as this object is not registered at all, --debug isn't an option; the