<?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: VS17 : Attached to Archicad.exe and debugging is not working in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274184#M2101</link>
    <description>This was not the answer. This is an error which can be ignored  as some said on this forum. I updated archicad and it started to work just like that. I still got some errors from vs2017 about not found .pdb files related to Archicad’s main dll files.</description>
    <pubDate>Thu, 10 Jun 2021 20:00:36 GMT</pubDate>
    <dc:creator>Mihalcea Bogdan</dc:creator>
    <dc:date>2021-06-10T20:00:36Z</dc:date>
    <item>
      <title>VS17 : Attached to Archicad.exe and debugging is not working - SOLVED</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274182#M2099</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello! *Edit* I am using Archicad 24.&lt;BR /&gt;I have a problem debugging an add-on. The add-on works in Archicad very well after I followed every step to setup the environment required to develop Addons.&lt;BR /&gt;I attached Visual Studio 2017 to the Archciad.exe as it was mentioned in the documentation but the
&lt;PRE&gt;DBPrintf("some string");&lt;/PRE&gt;
&lt;STRONG&gt; still not gives any output&lt;/STRONG&gt; in the Output window.&lt;BR /&gt;Before you will redirect me to any other post I've already read this post &lt;S&gt;&lt;/S&gt;&lt;A href="https://archicad-talk.graphisoft.com/viewtopic.php?f=23&amp;amp;t=72673" target="_blank"&gt;https://archicad-talk.graphisoft.com/viewtopic.php?f=23&amp;amp;t=72673&lt;/A&gt;&lt;BR /&gt;I have my solution configured to "Native code", I enabled the "Attach to process" in the debug options.&lt;BR /&gt;Basically I made every step the documentation mentioned.&lt;BR /&gt;These are my #includes in the code
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;#include "APIEnvir.h"
#include "ACAPinc.h"

#include "ResourceIds.hpp"
#include "DGModule.hpp"
#include "APIdefs_Goodies.h"
#include "GSRoot.hpp"
#include &amp;lt;iostream&amp;gt;&lt;/PRE&gt;
Please help me amazing developers from Graphisoft &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" border="0" /&gt;&lt;BR /&gt;Thank you!&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:35:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274182#M2099</guid>
      <dc:creator>Mihalcea Bogdan</dc:creator>
      <dc:date>2021-09-14T07:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: VS17 : Attached to Archicad.exe and debugging is not working</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274183#M2100</link>
      <description>So i think I found the answer!&lt;BR /&gt;
2&amp;gt;ACAP_STATD.lib(ACAPlib.obj) :&lt;B&gt; warning LNK4099: PDB 'API_c.pdb' was not found with 'ACAP_STATD.lib(ACAPlib.obj)' or at 'D:\TEMP\ARCHICAD ADDON TEMPLATE\archicad-addon-cmake-master_backup\Build\Debug\API_c.pdb'; linking object &lt;U&gt;&lt;/U&gt;&lt;/B&gt;&lt;S&gt;&lt;B&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/B&gt;&lt;/S&gt;as if no debug info&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
2&amp;gt;AddOn.vcxproj -&amp;gt; D:\TEMP\ARCHICAD ADDON TEMPLATE\archicad-addon-cmake-master_backup\Build\Debug\ExampleAddOn.apx&lt;BR /&gt;
2&amp;gt;Done building project "AddOn.vcxproj".&lt;BR /&gt;
3&amp;gt;------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------&lt;BR /&gt;
3&amp;gt;Project not selected to build for this solution configuration</description>
      <pubDate>Thu, 10 Jun 2021 06:38:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274183#M2100</guid>
      <dc:creator>Mihalcea Bogdan</dc:creator>
      <dc:date>2021-06-10T06:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: VS17 : Attached to Archicad.exe and debugging is not working</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274184#M2101</link>
      <description>This was not the answer. This is an error which can be ignored  as some said on this forum. I updated archicad and it started to work just like that. I still got some errors from vs2017 about not found .pdb files related to Archicad’s main dll files.</description>
      <pubDate>Thu, 10 Jun 2021 20:00:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274184#M2101</guid>
      <dc:creator>Mihalcea Bogdan</dc:creator>
      <dc:date>2021-06-10T20:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: VS17 : Attached to Archicad.exe and debugging is not working</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274185#M2102</link>
      <description>Viktor Kovacs mentioned in another post that in the Debugging menu -&amp;gt; Command should be set to Archicad.exe file location. Everything works now.</description>
      <pubDate>Tue, 15 Jun 2021 07:55:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/VS17-Attached-to-Archicad-exe-and-debugging-is-not-working/m-p/274185#M2102</guid>
      <dc:creator>Mihalcea Bogdan</dc:creator>
      <dc:date>2021-06-15T07:55:44Z</dc:date>
    </item>
  </channel>
</rss>

