<?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: How to add Add-On version info? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148377#M6720</link>
    <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;santi wrote:&lt;BR /&gt;I have another question: How do I add the info to the properties of .apx file? I'm on Windows and all the add-ons I've found on internet has it.&lt;/BLOCKQUOTE&gt;
Just include the version resource as Karl described above.&lt;/BLOCKQUOTE&gt;

I didnt realize that it was commented out &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; thanks a lot</description>
    <pubDate>Wed, 08 Jul 2009 20:52:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-07-08T20:52:20Z</dc:date>
    <item>
      <title>How to add Add-On version info?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148371#M6714</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I was add version info next way:&lt;BR /&gt;Add -&amp;gt; Resource -&amp;gt; Version -&amp;gt; New&lt;BR /&gt;and now ArchiCAD set next info for Add-On&lt;BR /&gt;&lt;BR /&gt;"The file is either not an Add-On or an outdated one that cannot be used with this ArchiCAD version."&lt;BR /&gt;&lt;BR /&gt;How I must to specify version info correct?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:07:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148371#M6714</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T15:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Add-On version info?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148372#M6715</link>
      <description>If you look at the examples, the version info is usually included in the *Fix.grc file:&lt;BR /&gt;

&lt;PRE&gt;/*	Version resource - uses strings defined in the localizable resource file
'VERS' {
	"Your Company"
	"Copyright  © Your Company 2008"
	"Your Add-On"
	1.00
	1.00
	"ArchiCAD"
	12.0
	" (12)"
}
*/
&lt;/PRE&gt;

Above, it says 'uses strings defined in the localizable resource file', but in fact, if you remove the comment marks, the syntax above is for defining the entire VERS resource right there.&lt;BR /&gt;
&lt;BR /&gt;
For example, I had an add-on with this in the fixed grc:&lt;BR /&gt;

&lt;PRE&gt;'VERS' {
	COMPANY_STR
	COPYRIGHT_STR
	FILEDESC_STR
	1.20
	1.20
	"ArchiCAD"
	9.0
}&lt;/PRE&gt;

where I defined the macros in the localized grc:&lt;BR /&gt;

&lt;PRE&gt;@#define	COMPANY_STR		"Archispectives LLC"
@#define	COPYRIGHT_STR	"Copyright © Archispectives LLC 2004"
@#define	FILEDESC_STR	"Provides shortcut key access to individual display options."
&lt;/PRE&gt;

The idea of the localized resource file for defining the strings is simply for easier translation for muli-language versions.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Not sure if that's what you're asking?&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Thu, 18 Jun 2009 15:54:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148372#M6715</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2009-06-18T15:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Add-On version info?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148373#M6716</link>
      <description>&lt;BLOCKQUOTE&gt;equilibrium wrote:&lt;BR /&gt;"The file is either not an Add-On or an outdated one that cannot be used with this ArchiCAD version."&lt;BR /&gt;
How I must to specify version info correct?&lt;/BLOCKQUOTE&gt;
Karl has given all the correct steps for adding version info, but I suspect you are trying to overcome the failure of ArchiCAD loading the add-on.&lt;BR /&gt;
&lt;BR /&gt;
There are many possible reasons for this error appearing:&lt;UL&gt;&lt;LI&gt;- The developer and add-on ID resources (MDID) are missing.&lt;BR /&gt;
- The required add-on functions are missing.&lt;BR /&gt;
- The add-on is built with the wrong compiler, e.g. using VS 2008 when the devkit requires VS 2005.&lt;BR /&gt;
- Linking against conflicting runtime libraries.&lt;BR /&gt;
- Dynamic linking failure&lt;/LI&gt;&lt;/UL&gt;
I recommend building one of the example projects using the compiler etc that you have used for this add-on to ensure it works. If it does, check your MDID resources carefully. If that also fails, check anything you link against for possible incompatibilities.</description>
      <pubDate>Fri, 19 Jun 2009 07:29:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148373#M6716</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-06-19T07:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Add-On version info?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148374#M6717</link>
      <description>Thanks a lot, Karl and Ralph!&lt;BR /&gt;
&lt;BR /&gt;
I was successfully uncomment version settings in *Fix.grc file and build my Add-On. I used also information from &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=3052&amp;amp;postdays=0&amp;amp;postorder=desc&amp;amp;&amp;amp;start=0" target="_blank"&gt;next&lt;/A&gt;&lt;E&gt;&lt;/E&gt; topic for fix problem with 'undefined keyword or key name: WIN_LANGUAGE_ID'.&lt;BR /&gt;
&lt;BR /&gt;
But I have next question.&lt;BR /&gt;
My Add-On version is number like '%d.%d.%d.%d' (four digits separated with points), but i can specify only '%d.%d' number.&lt;BR /&gt;
&lt;BR /&gt;
How can I change format of file version?&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 19 Jun 2009 08:13:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148374#M6717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-19T08:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Add-On version info?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148375#M6718</link>
      <description>hi,&lt;BR /&gt;
&lt;BR /&gt;
I have another question: How do I add the info to the properties of .apx file? I'm on Windows and all the add-ons I've found on internet has it. &lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
&lt;BR /&gt;
Santi</description>
      <pubDate>Wed, 08 Jul 2009 10:34:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148375#M6718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-08T10:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Add-On version info?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148376#M6719</link>
      <description>&lt;BLOCKQUOTE&gt;santi wrote:&lt;BR /&gt;I have another question: How do I add the info to the properties of .apx file? I'm on Windows and all the add-ons I've found on internet has it.&lt;/BLOCKQUOTE&gt;
Just include the version resource as Karl described above.</description>
      <pubDate>Wed, 08 Jul 2009 10:37:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148376#M6719</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-07-08T10:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to add Add-On version info?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148377#M6720</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;santi wrote:&lt;BR /&gt;I have another question: How do I add the info to the properties of .apx file? I'm on Windows and all the add-ons I've found on internet has it.&lt;/BLOCKQUOTE&gt;
Just include the version resource as Karl described above.&lt;/BLOCKQUOTE&gt;

I didnt realize that it was commented out &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; thanks a lot</description>
      <pubDate>Wed, 08 Jul 2009 20:52:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-add-Add-On-version-info/m-p/148377#M6720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-08T20:52:20Z</dc:date>
    </item>
  </channel>
</rss>

