<?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: The file is an outdated Add-On that cannot be used with in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282412#M4828</link>
    <description>based on my experience, this can be caused by (but not limited to):&lt;BR /&gt;
&lt;BR /&gt;
* The add-on is for lower version of ArchiCAD.&lt;BR /&gt;
* The add-on was built with error/s.&lt;BR /&gt;
* Library file/s (DLL/s) was/were not found on their respective directories.</description>
    <pubDate>Tue, 04 Aug 2015 08:59:01 GMT</pubDate>
    <dc:creator>ReignBough</dc:creator>
    <dc:date>2015-08-04T08:59:01Z</dc:date>
    <item>
      <title>The file is an outdated Add-On that cannot be used with this</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282411#M4827</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi&lt;BR /&gt;&lt;BR /&gt;I develop add-ons for ArchiCad.&lt;BR /&gt;I'm using ArchiCad 18 and API Development Kit 18.3006 with Visual Studio 2010 for development.&lt;BR /&gt;&lt;BR /&gt;Only today I get an error when I want to add my add-on from Add-on Manager. Before it was working fine.&lt;BR /&gt;&lt;BR /&gt;Here is the error message&lt;BR /&gt;The file is an outdated Add-On that cannot be used with this&lt;BR /&gt;&lt;BR /&gt;Please give me an advice.&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Jul 2023 14:21:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282411#M4827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-07-13T14:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: The file is an outdated Add-On that cannot be used with</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282412#M4828</link>
      <description>based on my experience, this can be caused by (but not limited to):&lt;BR /&gt;
&lt;BR /&gt;
* The add-on is for lower version of ArchiCAD.&lt;BR /&gt;
* The add-on was built with error/s.&lt;BR /&gt;
* Library file/s (DLL/s) was/were not found on their respective directories.</description>
      <pubDate>Tue, 04 Aug 2015 08:59:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282412#M4828</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2015-08-04T08:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: The file is an outdated Add-On that cannot be used with</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282413#M4829</link>
      <description>&lt;BLOCKQUOTE&gt;ReignBough wrote:&lt;BR /&gt;
* The add-on is for lower version of ArchiCAD.
&lt;/BLOCKQUOTE&gt;

or upper...&lt;BR /&gt;
&lt;BR /&gt;
To check the third point, download and install Dependency Walker (&lt;A href="http://www.dependencywalker.com/" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://www.dependencywalker.com/" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;http://www.dependencywalker.com/&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;http://www.dependencywalker.com/&lt;E&gt;&lt;/E&gt;)&lt;BR /&gt;
&lt;BR /&gt;
Open your APX, go to &lt;B&gt;Options&lt;/B&gt;, &lt;B&gt;Configure Module Search Order...&lt;/B&gt; Browse to the ArchiCAD install directory (C:\Program Files\GRAPHISOFT\ArchiCAD xx) and click &lt;B&gt;Add directory&lt;/B&gt;, then click on &lt;B&gt;OK&lt;/B&gt;. When DW ask you if you want to refresh, answer by &lt;B&gt;Yes&lt;/B&gt;. You should then have no module load errors (except for some special DLL like API-MS-WIN-*.DLL or DCOMP.DLL).&lt;BR /&gt;
&lt;BR /&gt;
To check the first point, you can use the DUMPBIN utility. Dump the imports of your APX, go to the GSRoot.dll section and note the hint before one of the imported functions (?DBPrintf@@YAXPEBDZZ for example; the hint is 911 for ArchiCAD 18 ). Then dump the export of GSROOT.dll, retrieve the ?DBPrintf@@YAXPEBDZZ function and check if the hint column matches. If not, it's because you have built your APX with the wrong version of the DevKit.&lt;BR /&gt;
&lt;BR /&gt;
You can also use DW. Select GSROOT.dll in the tree, then select the ?DBPrintf@@YAXPEBDZZ in the list of exported functions. Then, in the contextual menu, choose &lt;B&gt;Highlight Matching Import Function&lt;/B&gt;. If the hints are different, then the APX is not build for the installed ArchiCAD.</description>
      <pubDate>Tue, 04 Aug 2015 13:17:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282413#M4829</guid>
      <dc:creator>mdelanno</dc:creator>
      <dc:date>2015-08-04T13:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: The file is an outdated Add-On that cannot be used with</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282414#M4830</link>
      <description>It also happens when you use an Addon identifier that is already used for another addon.&lt;BR /&gt;
&lt;BR /&gt;
I had this problem yesterday &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Mon, 07 Dec 2015 15:29:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/The-file-is-an-outdated-Add-On-that-cannot-be-used-with-this/m-p/282414#M4830</guid>
      <dc:creator>gehairing</dc:creator>
      <dc:date>2015-12-07T15:29:51Z</dc:date>
    </item>
  </channel>
</rss>

