On 11/01/2009 5:34 PM, Ben Gordon wrote:
Mark,
MH pB = mod.InterfaceB(pA.QueryInterface(IID_B, pythoncom.IID_IDispatch))
Thanks so much for the suggestion. I tried it, but it appears that pA
does not provide a QueryInterface method.
oops - try pA._oleobj_.QueryInterface(...)
I'm not sure
Mark,
MH oops - try pA._oleobj_.QueryInterface(...)
I just tried that too. Now, the cast succeeds as before (according to
print pB), but the method call [Count()] still fails in the same way
as before too.
I appreciate the help, though! Even if we can't work out a fix, do you
have any