Łukasz Jakubowski wrote: > Do you have maybe some quick idea for some way of fixing it with > intermediate code, so that fe. calls are verified for result and reissued > in another style/_FlaggedAsMethod and reissued - and _FlagAsMethod or > using cmd._olerepr_.defaultDispatchNam later in code is not required?
Do you mean totally general case? I don't think there is a general case solution, because there's no general case way to decide which interpretation is correct. My suggested hack-around works for your specific case, and it may be that's the best you can do. I'd love to have Mark Hammond take a whack at this. He's really the PythonCom expert. > I imagine that it could work as some extra import, and then would allow > using all the Directory Opus API without any special provisions. I don't > want to mess with pywin32 code. I don't think you should be afraid to mess with the pywin32 code. One of the huge benefits of Python is that you HAVE the library source code. You can save away the original and make changes -- with enough debug prints to swamp a large boat -- and if your experiments don't help, go back to the original, no harm done. And if they DO help, well now you have something to contribute to the community. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32