<?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 Re: APIEnv_Get3DImageSetsID Crash (API 26) in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350945#M1557</link>
    <description>&lt;P&gt;Graphisoft's &lt;SPAN&gt;Environment_Control&amp;nbsp;&lt;/SPAN&gt;example.&amp;nbsp;Do_SetFilterAndCutSettings () function.&lt;BR /&gt;Using Cmake create a VS solution.&amp;nbsp;&lt;BR /&gt;Release build works, Debug build crashes.&lt;BR /&gt;&lt;BR /&gt;Is it works for you ?&lt;BR /&gt;&lt;BR /&gt;PS: Just guess. I think, one of possible reason is different debug memory handling of std::map.&amp;nbsp; For caller (addon) and &lt;SPAN&gt;APIEnv_Get3DImageSetsID&amp;nbsp;&lt;/SPAN&gt;API implementation.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 18:36:22 GMT</pubDate>
    <dc:creator>Oleg</dc:creator>
    <dc:date>2022-07-26T18:36:22Z</dc:date>
    <item>
      <title>APIEnv_Get3DImageSetsID Crash (API 26)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350896#M1555</link>
      <description>&lt;P&gt;Call the&amp;nbsp;APIEnv_Get3DImageSetsID crashed Archicad ( exception thrown in debugger).&lt;BR /&gt;It seems&amp;nbsp;APIEnv_Change3DImageSetsID too.&lt;BR /&gt;&lt;BR /&gt;Both in our Addon and the Environment_Control example.&lt;BR /&gt;&lt;BR /&gt;Is there an API bug ?&lt;BR /&gt;&lt;BR /&gt;Update:&amp;nbsp;&lt;BR /&gt;The Environment_Control example works for Release build.&amp;nbsp;&lt;BR /&gt;But crashes for Debug build.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 14:00:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350896#M1555</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2022-07-26T14:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: APIEnv_Get3DImageSetsID Crash (API 26)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350913#M1556</link>
      <description>&lt;P&gt;Hi Oleg,&lt;/P&gt;
&lt;P&gt;These types of crashes usually happen because of uninitialized variables. In some cases, in debug build the uninitialized memory gets set to NULL, while on Release it contains memory garbage. Are&amp;nbsp;&lt;EM&gt;filterAndCutSettings&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;mustConvert &lt;/EM&gt;both initialized?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 14:30:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350913#M1556</guid>
      <dc:creator>akomporday</dc:creator>
      <dc:date>2022-07-26T14:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: APIEnv_Get3DImageSetsID Crash (API 26)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350945#M1557</link>
      <description>&lt;P&gt;Graphisoft's &lt;SPAN&gt;Environment_Control&amp;nbsp;&lt;/SPAN&gt;example.&amp;nbsp;Do_SetFilterAndCutSettings () function.&lt;BR /&gt;Using Cmake create a VS solution.&amp;nbsp;&lt;BR /&gt;Release build works, Debug build crashes.&lt;BR /&gt;&lt;BR /&gt;Is it works for you ?&lt;BR /&gt;&lt;BR /&gt;PS: Just guess. I think, one of possible reason is different debug memory handling of std::map.&amp;nbsp; For caller (addon) and &lt;SPAN&gt;APIEnv_Get3DImageSetsID&amp;nbsp;&lt;/SPAN&gt;API implementation.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 18:36:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/APIEnv-Get3DImageSetsID-Crash-API-26/m-p/350945#M1557</guid>
      <dc:creator>Oleg</dc:creator>
      <dc:date>2022-07-26T18:36:22Z</dc:date>
    </item>
  </channel>
</rss>

