ImportFromESRI crash in 64 bits


I decided to switch my C# application to 64-bit, but I’m having a problem with the method:

ImportFromESRI ();

The application closes, without any error message.

string proj = “GEOGCS[“GCS_WGS_1984”,DATUM[“D_WGS_1984”,SPHEROID[“WGS_1984”,6378137,298.257223563]],PRIMEM[“Greenwich”,0],UNIT[“Degree”,0.017453292519943295]]”;

GeoProjection g = new GeoProjection();

g.ImportFromESRI(proj); // Crash!

Do you have an idea of ​​the problem ?

Thanks for your help,

Does this issue still exists in the latest version: Releases · MapWindow/MapWinGIS · GitHub

Sorry I didn’t have time to test it. I’ll try to do that this week.

I can reproduce the crash when in x64 mode.
I’ve created [MWGIS-271] GeoProjection.ImportFromESRI() crashes on x64 build

I will have a look at it.

I’ve fixed it. It will available in the next release: v5.4

1 Like