[Ironpython-users] How to free memory in ironpython

Slide slide.o.mix at gmail.com
Thu Nov 10 07:34:55 EST 2016


That's not what I was talking about. You are calling the method like a
static method by using the class name. Yiuve already created an instance
above called "utils".

On Thu, Nov 10, 2016, 03:37 Djordje Spasic <issworld2000 at yahoo.com> wrote:

> Hi Alex,
>
>
> Thank you for the reply.
>
> If try to instantiate the MapWinGIS.Utils class, I get the following error
> message:
>
> Cannot create instances of Utils because it is abstract
>
> I get the same error message for any MapWinGIS class.
> If I add "Class" to its name, then everything works fine (like:
> MapWinGIS.UtilsClass)
>
> Here is how the MapWinGIS.Utils class looks like when I decompile the
> "Interop.MapWinGIS.dll":
> https://www.dropbox.com/s/vvk14cr2alglutd/utilsClass_preview.jpg?dl=0
>
> It's virtually empty while "UtilsClass" has all the methods that "Utils"
> should have when one takes a look at their online API documentation
> <http://www.mapwindow.org/documentation/mapwingis4.9/class_utils.html>.
>
> Up until now, I've called more than 10 classes from
> "Interop.MapWinGIS.dll" and their methods. And I always added the "Class"
> to the class name. It worked without problem.
>
> So I do not think this is the problem.
> Something else seems to be causing it.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20161110/07294f67/attachment.html>


More information about the Ironpython-users mailing list