See unit test 'ImportFromEsriTest' in \git\unittest-net6\Projections\GeoProjectionsTests.cs
It runs fine in x86 but crashes in x64 with an AccessViolationException:
AccessViolationException
Changed to use CSLAddString / CSLDestroy to manage the null-terminated list of strings.
Moved code from ProjectionHelper into GeoProjection (ultimately to exclude ProjectionHelper from project)
Removed final warnings from code to comply with c++ Guidelines
Use GDAL-based CSLAddString to build null-terminated array of strings
Even replied and it seems the parameter should be a list of strings.
I’ve changed it and now it is working in both Win32 and Win64.
Strange error.Debugging MapWinGIS shows the error comes from `sr->importFromESRI(&s)`.
I’ve asked for help on the GDAL mailing list.
See unit test 'ImportFromEsriTest' in \git\unittest-net6\Projections\GeoProjectionsTests.cs
It runs fine in x86 but crashes in x64 with an
AccessViolationException
: