Re: [Ironpython-users] Cannot create instances of that class because it is abstract

2016-02-13 Thread Djordje Spasic via Ironpython-users
Thank you Stéphane, That worked perfectly!! From: Stéphane Lozier To: Djordje Spasic Cc: "ironpython-users@python.org" Sent: Friday, January 29, 2016 9:02 PM Subject: Re: [Ironpython-users] Cannot create instances of that class because it is abstract I can't sa

Re: [Ironpython-users] Cannot create instances of that class because it is abstract

2016-01-29 Thread Stéphane Lozier
; I would be very grateful for any kind of advice Stéphane. > > Kind regards, > Djordje Spasic > > > -- > *From:* Stéphane Lozier > *To:* Djordje Spasic > *Cc:* "ironpython-users@python.org" > *Sent:* Friday, January 29, 2016 5:24

Re: [Ironpython-users] Cannot create instances of that class because it is abstract

2016-01-29 Thread Stéphane Lozier
Shapefile is an interface with a CoClassAttribute to ShapefileClass (which means when you do new Shapefile() in C# it creates an instance of ShapefileClass). I have no idea what the correct behaviour for IronPython should be, but in this case MapWinGIS.Shapefile gives you the interface. You could

Re: [Ironpython-users] Cannot create instances of that class because it is abstract

2016-01-29 Thread Djordje Spasic via Ironpython-users
pefileName, [MarshalAs(UnmanagedType.Interface)] [In] ICallback cBack = null); I would be very grateful for any kind of advice Stéphane. Kind regards, Djordje Spasic From: Stéphane Lozier To: Djordje Spasic Cc: "ironpython-users@python.org" Sent: Friday, January 29, 2016 5:24

[Ironpython-users] Cannot create instances of that class because it is abstract

2016-01-25 Thread Djordje Spasic via Ironpython-users
Hello, I am trying to call a specific method ("Open") from the .NET assembly.The .NET assembly along with all other .dlls and necessary files, can be downloaded from here. It's free an open source project: MapWindow. In their examples page, by loading the Interop.MapWinGIS.dll file, they call t