> Is the custom of passing an object that implements an interface as an
> argument to a COM function an unusual one?
Yes - but you must be careful of threading rules - ie, you can *not* simply
pass the pointer to a different thread that make the actual callback.
> I've searched for other
> COM f
> 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
> 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:
That all looks correct!
> import win32com.server.util
> qnotify = win32com.server.util.wrap(Q())
Try adding useDispa