<?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 Map Events Selection Changed Handling - Crashing ArcMap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-events-selection-changed-handling-crashing/m-p/331700#M8626</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on migrating a 9.3 ArcMap application developed on .net 2005 to 9.4 on .net 2008. The application has a number of custom tools, couple of which handles the map selection changed event. The code works fine on 9.3, but is crashing the ArcMap in 9.4 on Map Selection Change, just after running the Selection Changed Event routine and giving error messages&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IDE error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI error : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Desktop has encountered a serious application error and unable to continue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whats going on here? Any idea on this is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sreeja S.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Apr 2010 06:28:41 GMT</pubDate>
    <dc:creator>SreejaS</dc:creator>
    <dc:date>2010-04-27T06:28:41Z</dc:date>
    <item>
      <title>Map Events Selection Changed Handling - Crashing ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-events-selection-changed-handling-crashing/m-p/331700#M8626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on migrating a 9.3 ArcMap application developed on .net 2005 to 9.4 on .net 2008. The application has a number of custom tools, couple of which handles the map selection changed event. The code works fine on 9.3, but is crashing the ArcMap in 9.4 on Map Selection Change, just after running the Selection Changed Event routine and giving error messages&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IDE error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI error : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Desktop has encountered a serious application error and unable to continue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whats going on here? Any idea on this is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sreeja S.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 06:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/map-events-selection-changed-handling-crashing/m-p/331700#M8626</guid>
      <dc:creator>SreejaS</dc:creator>
      <dc:date>2010-04-27T06:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Map Events Selection Changed Handling - Crashing ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-events-selection-changed-handling-crashing/m-p/331701#M8627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm hoping you've resolved this issue already, otherwise you've not been able to do much I suspect.&amp;nbsp; I'm still using 9.3.1, but I'm converting our production code from VB6 to VB.NET and I've run into this error quite often.&amp;nbsp; Most of the time it has meant that one of my dependency dll's is not registered properly.&amp;nbsp; I recompile the dependency code, then my current code and run the application, that usually irons out the problem.&amp;nbsp; I've notice at times I can get that error if I have ArcMap running in a separate debugger.&amp;nbsp; If possible, it might be something a restart of your development computer can solve easily.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 18:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/map-events-selection-changed-handling-crashing/m-p/331701#M8627</guid>
      <dc:creator>BelindaJerger</dc:creator>
      <dc:date>2010-05-04T18:24:04Z</dc:date>
    </item>
  </channel>
</rss>

