<?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: Upgrading the project to API  25 in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/286393#M2196</link>
    <description>I'm also having compilation errors similar to yours, though it only occurs on a few cpps:&lt;BR /&gt;

&lt;PRE&gt;API Development Kit 25.3002\Support\Modules\TextEngine\FontFamily.hpp(42,2): error C3668: 'TE::FontFamily::GetClassInfo': method with override specifier 'override' did not override any base class methods
Addon Development\API Development Kit 25.3002\Support\Modules\InputOutput\Name.hpp(34,2): error C3668: 'IO::Name::GetClassInfo': method with override specifier 'override' did not override any base class methods
API Development Kit 25.3002\Support\Modules\InputOutput\Address.hpp(67,2): error C3668: 'IO::Address::GetClassInfo': method with override specifier 'override' did not override any base class Addon Development\API Development Kit 25.3002\Support\Modules\InputOutput\RelativeLocation.hpp(38,2): error C3668: 'IO::RelativeLocation::GetClassInfo': method with override specifier 'override' did not override any base class methods
API Development Kit 25.3002\Support\Modules\InputOutput\Location.hpp(52,2): error C3668: 'IO::Location::GetClassInfo': method with override specifier 'override' did not override any base class methods&lt;/PRE&gt;

&lt;BR /&gt;
The solution I found out for this is adding this define + include on the header file. Make sure this is first before other includes, doesn't work if its not
&lt;PRE&gt;#define		ACExtension		// needed before ACAPinc.h
#include	"ACAPinc.h"&lt;/PRE&gt;

&lt;BR /&gt;
Hope this works for you too.</description>
    <pubDate>Tue, 17 Aug 2021 06:41:13 GMT</pubDate>
    <dc:creator>Erenford</dc:creator>
    <dc:date>2021-08-17T06:41:13Z</dc:date>
    <item>
      <title>Upgrading the project to API  25</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/286392#M2195</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I'm trying to upgrade my existing add-on project to the newest API version but I'm getting some compilation errors.&lt;BR /&gt;The project originates from API 23 and I already have it upgraded to 24 by simply creating new build config and adjusting all the paths. I tried to do the same for API 25. &lt;BR /&gt;Also, I need to keep older versions for maintenance reasons.&lt;BR /&gt;&lt;BR /&gt;The error I'm getting says: &lt;BR /&gt;Error C3668 'TE::FontFamily::GetClassInfo': method with override specifier 'override' did not override any base class methods ..\API Development Kit 25.3002\Support\Modules\TextEngine\FontFamily.hpp 42 &lt;BR /&gt;&lt;BR /&gt;These are the things I already rectified so far:&lt;BR /&gt;- added path to '../Modules/RS' headers and RSImp.lib (not sure if this is needed),&lt;BR /&gt;- removed references to utf8header.h which is no longer included with the SDK.&lt;BR /&gt;&lt;BR /&gt;What do I do next?&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:26:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/286392#M2195</guid>
      <dc:creator>Lk_</dc:creator>
      <dc:date>2021-09-14T07:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading the project to API  25</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/286393#M2196</link>
      <description>I'm also having compilation errors similar to yours, though it only occurs on a few cpps:&lt;BR /&gt;

&lt;PRE&gt;API Development Kit 25.3002\Support\Modules\TextEngine\FontFamily.hpp(42,2): error C3668: 'TE::FontFamily::GetClassInfo': method with override specifier 'override' did not override any base class methods
Addon Development\API Development Kit 25.3002\Support\Modules\InputOutput\Name.hpp(34,2): error C3668: 'IO::Name::GetClassInfo': method with override specifier 'override' did not override any base class methods
API Development Kit 25.3002\Support\Modules\InputOutput\Address.hpp(67,2): error C3668: 'IO::Address::GetClassInfo': method with override specifier 'override' did not override any base class Addon Development\API Development Kit 25.3002\Support\Modules\InputOutput\RelativeLocation.hpp(38,2): error C3668: 'IO::RelativeLocation::GetClassInfo': method with override specifier 'override' did not override any base class methods
API Development Kit 25.3002\Support\Modules\InputOutput\Location.hpp(52,2): error C3668: 'IO::Location::GetClassInfo': method with override specifier 'override' did not override any base class methods&lt;/PRE&gt;

&lt;BR /&gt;
The solution I found out for this is adding this define + include on the header file. Make sure this is first before other includes, doesn't work if its not
&lt;PRE&gt;#define		ACExtension		// needed before ACAPinc.h
#include	"ACAPinc.h"&lt;/PRE&gt;

&lt;BR /&gt;
Hope this works for you too.</description>
      <pubDate>Tue, 17 Aug 2021 06:41:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/286393#M2196</guid>
      <dc:creator>Erenford</dc:creator>
      <dc:date>2021-08-17T06:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading the project to API  25</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/304595#M2197</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In regards to Error C3668 'IO::Name::GetClassInfo': method with override specifier 'override' did not override any base class methods ...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1. It looks to be WinUser.h defining GetClassName as GetClassNameA/W so GS::Object::GetClassName -&amp;gt; gets defined as GS::Object::GetClassNameA or W.&lt;BR /&gt;2. So Location DECLARE_CLASS_INFO macro was trying to find a GS::Object::GetClassName to override but fails because of the above.&lt;BR /&gt;3. I fixed the those compile errors by moving the windows api headers i.e. &amp;lt;Windows.h&amp;gt; to be after Archicad headers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Ian Tran&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 21:42:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/304595#M2197</guid>
      <dc:creator>Kalloc Studios</dc:creator>
      <dc:date>2021-09-02T21:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Upgrading the project to API  25</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/307950#M2198</link>
      <description>&lt;P&gt;Sorry for the late reply, but indeed moving the headers fixed the problem.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 16:21:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Upgrading-the-project-to-API-25/m-p/307950#M2198</guid>
      <dc:creator>Lk_</dc:creator>
      <dc:date>2021-09-30T16:21:54Z</dc:date>
    </item>
  </channel>
</rss>

