On 12/01/2009 9:37 AM, Ben Gordon wrote:
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 idea of what could be going wrong?
Not really :( VB is probably doing everything directly via vtables and
skipping IDispatch completely - so maybe comtypes (based on vtypes) will
have better luck?
Cheers,
Mark
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32