> 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 functions that do this, and have yet to find any.  The most common
> way of registering an event sink for most COM applications seems to be
> overriding the callback functions on a COM object directly.

Yeah, COM events generally use 'connection points' - but even then, the
thread-rules must be followed.

Mark

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

Reply via email to