<?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 access violation with GetElevationAsync(mapPoint) when using Prism in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/access-violation-with-getelevationasync-mappoint/m-p/247978#M1544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I am building an application with visual studios 2015 using wpf, C# and Prism v4.0.30319. We have a 3d view that is an Esri .net runtime SceneView. We wanted to use the GetElevationAsync(mapPoint) function to get elevation data. In a stand alone application using just Esri SceneView the GetElevationAsync(mapPoint) function works for both the SceneView and MapView if the SceneView is active. This is also using FileElevationSource and loading in DTED level 0 into the FileElevationSource and then adding that to the SceneView.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;The issue we are having is when we try and call the GetElevationAsync(mapPoint) we get an access violation and/or corrupted memory when we are using prism and unity. Has anyone else tried using ESRi's .net runtime and Prism to create a SceneView application that is using the GetElevationAsync(mapPoint) function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 21:41:20 GMT</pubDate>
    <dc:creator>EricBoice</dc:creator>
    <dc:date>2017-03-27T21:41:20Z</dc:date>
    <item>
      <title>access violation with GetElevationAsync(mapPoint) when using Prism</title>
      <link>https://community.esri.com/t5/developers-questions/access-violation-with-getelevationasync-mappoint/m-p/247978#M1544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I am building an application with visual studios 2015 using wpf, C# and Prism v4.0.30319. We have a 3d view that is an Esri .net runtime SceneView. We wanted to use the GetElevationAsync(mapPoint) function to get elevation data. In a stand alone application using just Esri SceneView the GetElevationAsync(mapPoint) function works for both the SceneView and MapView if the SceneView is active. This is also using FileElevationSource and loading in DTED level 0 into the FileElevationSource and then adding that to the SceneView.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;The issue we are having is when we try and call the GetElevationAsync(mapPoint) we get an access violation and/or corrupted memory when we are using prism and unity. Has anyone else tried using ESRi's .net runtime and Prism to create a SceneView application that is using the GetElevationAsync(mapPoint) function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 21:41:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/access-violation-with-getelevationasync-mappoint/m-p/247978#M1544</guid>
      <dc:creator>EricBoice</dc:creator>
      <dc:date>2017-03-27T21:41:20Z</dc:date>
    </item>
  </channel>
</rss>

