[python-win32] Missing methods from result of Dispatch or EnsureDispatch
Parand Tony Darugar
tdarugar at yahoo.com
Fri Feb 25 20:14:34 CET 2011
Hi Tim,
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?
- 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.
Best,
Parand
----- Original Message -----
From:Tim Roberts <timr at probo.com>
To:"python-win32 at python.org" <python-win32 at python.org>
Cc:
Sent:Friday, February 25, 2011 11:02 AM
Subject:Re: [python-win32] Missing methods from result of Dispatch or EnsureDispatch
Parand Tony Darugar wrote:
> I'm attempting to use COM to connect with Microsoft Dynamics GP via eConnect. I have a working VB program, and I also have a working IronPython program. However, I can't seem to get it to work with win32com.
>
> The main assembly I'm trying to get at is Microsoft.Dynamics.GP.eConnect.eConnectMethods. In VB this looks like:
>
> Dim eConCall As Microsoft.Dynamics.GP.eConnect.eConnectMethods
>
> And in IronPython I'm able to:
>
> clr.AddReference("Microsoft.Dynamics.GP.eConnect")
> from Microsoft.Dynamics.GP.eConnect import eConnectMethods
> connect = eConnectMethods()
> connect.eConnect_EntryPoint(...)
Perhaps I'm missing something, but in both cases there, you are creating
a .NET object from a .NET assembly, not a COM object. It's possible
Microsoft has a parallel interface available for COM apps, but there's
not necessarily any relationship between their object models.
Do you have an example that shows Dynamics being used from a non-managed
COM application?
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32
More information about the python-win32
mailing list