On 21/01/2014 7:46 AM, Pieter Aarnoutse wrote:
Any chance we can have some functionality like that in the release?
Please submit a patch to sourceforge, and we'll see what we can do.
Please be sure to make it is a patch rather than the full version of the
modified function.
Cheers,
Mark
_
In the win32com.client class CastTo method, it is assumed that the
target interface type exists in the same library as the object to be
casted. To work around that issue, I modified the method with an
optional argument stating the target interface's library, as follows:
def CastTo_mod(ob, target,