[python-win32] wrapping objects from a COM server
Mark Hammond
mhammond at skippinet.com.au
Tue Jan 23 23:50:18 CET 2007
> Is there a way that I can automatically have this happen for me, so
> that `win32com.server.util.wrap` will automatically be called on the
> way out of a method?
It should be possible to have your _dynamic_ method do this for you?
Instead of returning the result item, introspect what is returned and if it
is an instance with _public_methods_ etc, just explicitly do the wrap
yourself.
Or I'm missing something... :)
Cheers,
Mark
More information about the Python-win32
mailing list