<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS 10.1 crashes when an addin invokes GDAL DLL through SWIG C# wrapper in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-crashes-when-an-addin-invokes-gdal-dll/m-p/76271#M2053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing an addin with a button that tries to do coordinate transformation using GDAL OSR. When I create a new CoordinateTransformation object ArcMap crashes and close. If I debug the addin against a debug osr_csharp.dll I can see that CoordinateTransformation object is throwing an exception with this message: Unable to load PROJ.4 library (proj.dll), creation of\nOGRCoordinateTransformation failed. I have checked the addin file unziping it and I can see it contains the proj.dll and all the dependencies that osr_csharp.dll should have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The rare thing is that the same code executed inside an EXE project works without problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that the problem could be some interference between the GDAL 1.8 that ships with ArcGIS 10.1, but I cannot see how. I am not using&amp;nbsp; gdal18.dll directly, but osr_csharp and its dependencies (proj.dll).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on this type of fail?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 08:29:56 GMT</pubDate>
    <dc:creator>JoseHernandez1</dc:creator>
    <dc:date>2012-11-07T08:29:56Z</dc:date>
    <item>
      <title>ArcGIS 10.1 crashes when an addin invokes GDAL DLL through SWIG C# wrapper</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-crashes-when-an-addin-invokes-gdal-dll/m-p/76271#M2053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am developing an addin with a button that tries to do coordinate transformation using GDAL OSR. When I create a new CoordinateTransformation object ArcMap crashes and close. If I debug the addin against a debug osr_csharp.dll I can see that CoordinateTransformation object is throwing an exception with this message: Unable to load PROJ.4 library (proj.dll), creation of\nOGRCoordinateTransformation failed. I have checked the addin file unziping it and I can see it contains the proj.dll and all the dependencies that osr_csharp.dll should have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The rare thing is that the same code executed inside an EXE project works without problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect that the problem could be some interference between the GDAL 1.8 that ships with ArcGIS 10.1, but I cannot see how. I am not using&amp;nbsp; gdal18.dll directly, but osr_csharp and its dependencies (proj.dll).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas on this type of fail?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 08:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcgis-10-1-crashes-when-an-addin-invokes-gdal-dll/m-p/76271#M2053</guid>
      <dc:creator>JoseHernandez1</dc:creator>
      <dc:date>2012-11-07T08:29:56Z</dc:date>
    </item>
  </channel>
</rss>

