[geos-devel] Odd problem on Vista

Mark Fredrickson mark.m.fredrickson at gmail.com
Wed Jan 16 18:32:23 EST 2008


Oh. My bad. I misread your post. Good point. I'm writing a Scheme
wrapper right now and dealing with similar issues.

Cheers,
-Mark


On Jan 16, 2008 5:30 PM, Mark Fredrickson <mark.m.fredrickson at gmail.com> wrote:
> Sean,
>
> Do you have access to GEOSGeom_destroy()? It's in the geos_c.h, which
> IIRC is what was used to build that DLL according to traffic on this
> list.
>
> -Mark
>
>
>
>
>
> On Jan 16, 2008 4:39 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> > Sean Gillies wrote:
> > > I'm using Python's ctypes and libffi to access functions in GEOS.
> > > GEOSGeomToWKT and GEOSGeomToWKB_buf each allocate memory that must be
> > > freed by the caller. This has been no problem for me on Linux or Windows
> > > 2000, I simply free the memory with libc.free or msvcrt.free. There
> > > seems to be an authorization problem on Vista with the result that
> > > msvcrt.free cannot access the memory allocated by geos.dll. This is the
> > > DLL I got from Artem the other day. I'm thinking that the solution is
> > > for GEOS to export its own free function ala msFree in MapServer, yes?
> >
> > Sean,
> >
> > I can't see any harm in that.
> >
> > Best regards,
> > --
> > ---------------------------------------+--------------------------------------
> > I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> > light and sound - activate the windows | http://pobox.com/~warmerdam
> > and watch the world go round - Rush    | President OSGeo, http://osgeo.org
> >
> >
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/geos-devel
> >
>


More information about the geos-devel mailing list