Opened 14 years ago

Closed 14 years ago

#297 closed defect (invalid)

shapely.geos.free() using wrong version of msvcrt .dll

Reported by: timaranz Owned by: sgillies
Priority: major Milestone:
Component: SWIG Python Version: 3.0.3
Severity: Significant Keywords:
Cc:

Description

I have several versions of the msvc runtime installed on my XP machine. geos and python are build using version 9.

ctypes.msvcrt accesses the dll from the windows system32 folder which is version 7.

The correct way to find the version of msvcrt that matches python is: msvcrt = PyDLL(find_msvcrt())

patch attached.

Cheers Tim

Attachments (1)

geos.patch (439 bytes ) - added by timaranz 14 years ago.
patch for shapely/geos.py

Download all attachments as: .zip

Change History (2)

by timaranz, 14 years ago

Attachment: geos.patch added

patch for shapely/geos.py

comment:1 by sgillies, 14 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.