# ImportFromESRI crash in 64 bits

**URL:** https://mapwindow.discourse.group/t/importfromesri-crash-in-64-bits/984
**Category:** MapWinGIS
**Created:** [May 5, 2021, 4:05pm UTC](https://mapwindow.discourse.group/t/importfromesri-crash-in-64-bits/984 "2021-05-05T16:05:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Anthony](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@Anthony](https://mapwindow.discourse.group/u/Anthony)
#### Post date: [May 5, 2021, 4:05pm UTC](https://mapwindow.discourse.group/t/importfromesri-crash-in-64-bits/984/1 "2021-05-05T16:05:46Z")

</div>

Hello,

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,

---

<div class="post-metadata">

### Author: ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)
#### Post date: [January 19, 2022, 12:55pm UTC](https://mapwindow.discourse.group/t/importfromesri-crash-in-64-bits/984/2 "2022-01-19T12:55:54Z")

</div>

Does this issue still exists in the latest version: [Releases · MapWindow/MapWinGIS · GitHub](https://github.com/MapWindow/MapWinGIS/releases)

---

<div class="post-metadata">

### Author: ![Anthony](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@Anthony](https://mapwindow.discourse.group/u/Anthony)
#### Post date: [January 31, 2022, 5:07pm UTC](https://mapwindow.discourse.group/t/importfromesri-crash-in-64-bits/984/3 "2022-01-31T17:07:35Z")

</div>

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

---

<div class="post-metadata">

### Author: ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)
#### Post date: [February 4, 2022, 2:46pm UTC](https://mapwindow.discourse.group/t/importfromesri-crash-in-64-bits/984/4 "2022-02-04T14:46:23Z")

</div>

I can reproduce the crash when in x64 mode.  
I’ve created [[MWGIS-271] GeoProjection.ImportFromESRI() crashes on x64 build](https://mapwindow.atlassian.net/browse/MWGIS-271)

I will have a look at it.

---

<div class="post-metadata">

### Author: ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)
#### Post date: [February 11, 2022, 2:16pm UTC](https://mapwindow.discourse.group/t/importfromesri-crash-in-64-bits/984/5 "2022-02-11T14:16:26Z")

</div>

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