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, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32