[python-win32] Missing methods from result of Dispatch or EnsureDispatch
Tim Roberts
timr at probo.com
Fri Feb 25 20:59:28 CET 2011
Parand Tony Darugar wrote:
> Thank you for the clarification. You're not missing anything, I'm entirely new to the world of COM and .Net and didn't understand the difference.
>
> I'll look for a non-managed COM example. In the meanwhile:
>
> - Outside of Ironpython, is there a reasonable way to interaction with .Net objects/assemblies in Python?
Not really. Only .NET apps can use .NET objects. IronPython is the
.NET implementation of Python, and part of its power lies in the ability
to exploit the huge .NET CLR. One quite reasonable answer to your
dilemma is just to focus on IronPython.
> - Does the fact that Dispatch is able to bring in that object mean anything? I'm looking for clues on where to look for the COM interfaces, was hoping there was something to these COM handles I'm able to dispatch.
Yes, that's a very good point, and it nearly caused me to abort my
original reply. The fact that you were able to create an object at all
suggests that there may be a COM implementation of these objects. The
difficulty will be figuring out how they can be used. All of the
Googling I did led only to the .NET implementations.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list