<?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: Add-Ons under Leopard in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76974#M7594</link>
    <description>&lt;BLOCKQUOTE&gt;Joseph wrote:&lt;BR /&gt;Ralph,&lt;BR /&gt;
Is Objective updated for that? I am trying to jump in 10.5.&lt;BR /&gt;
Joseph&lt;/BLOCKQUOTE&gt;
Yes, the version currently available for download is fine under 10.5</description>
    <pubDate>Wed, 07 Nov 2007 22:19:34 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2007-11-07T22:19:34Z</dc:date>
    <item>
      <title>!Restored: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76972#M7592</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I've posted this under other topics, but it might be missed by developers who don't use ArchiCAD for architectural work. Under macOS 10.5, ArchiCAD will not recognise a bundle as an add-on if it lacks a 'PkgInfo' resource. Make sure you check the option 'Force Package Info Generation' in XCode (sets GENERATE_PKGINFO_FILE=YES).&lt;BR /&gt;&lt;BR /&gt;Note that this option isn't set in the example files in the DevKit.&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Aug 2023 14:16:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76972#M7592</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2023-08-04T14:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76973#M7593</link>
      <description>Ralph,&lt;BR /&gt;
Is Objective updated for that? I am trying to jump in 10.5.&lt;BR /&gt;
Joseph</description>
      <pubDate>Wed, 07 Nov 2007 21:45:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76973#M7593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-11-07T21:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76974#M7594</link>
      <description>&lt;BLOCKQUOTE&gt;Joseph wrote:&lt;BR /&gt;Ralph,&lt;BR /&gt;
Is Objective updated for that? I am trying to jump in 10.5.&lt;BR /&gt;
Joseph&lt;/BLOCKQUOTE&gt;
Yes, the version currently available for download is fine under 10.5</description>
      <pubDate>Wed, 07 Nov 2007 22:19:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76974#M7594</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2007-11-07T22:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76975#M7595</link>
      <description>Any idea why the MDID numbers which work on the Windows XP VisualStudio version won't work on the XCODE version?&lt;BR /&gt;
(this Add-on can't be verified, please ask the distributor)&lt;BR /&gt;
&lt;BR /&gt;
I've created way back a bunch of numbers with the ADD-ON manager tool, but I can't remember if at that time was there an "Authorization Code" prompt, and if yet what did I have to enter.&lt;BR /&gt;
&lt;BR /&gt;
Is there some word swapping/byte swapping to be done to work on the Intel Macs (Leopard/Xcode)?</description>
      <pubDate>Tue, 26 Feb 2008 07:07:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76975#M7595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T07:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76976#M7596</link>
      <description>&lt;BLOCKQUOTE&gt;Ferenc wrote:&lt;BR /&gt;Any idea why the MDID numbers which work on the Windows XP VisualStudio version won't work on the XCODE version?&lt;BR /&gt;
(this Add-on can't be verified, please ask the distributor) Is there some word swapping/byte swapping to be done to work on the Intel Macs (Leopard/Xcode)?&lt;/BLOCKQUOTE&gt;
You shouldn't have to do anything special or different with XCode. Is there any chance the resources aren't included in the final build?&lt;BR /&gt;
&lt;BR /&gt;
I'd suggest a quick test using the example projects with the API. Insert your MDID and see if it works.</description>
      <pubDate>Tue, 26 Feb 2008 09:10:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76976#M7596</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2008-02-26T09:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76977#M7597</link>
      <description>That's exactly what I'm trying first (PlanDump).&lt;BR /&gt;
And that's giving me the message above when attempting to load (Options/Add-Ons Manager)&lt;BR /&gt;
Since it looks like the the MDID_APICD.H has a slightly different format for the GCC compiler I'm thinking it might be the decimal representation of a four byte long integer might be a problem, or the byte/word swapping.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply.</description>
      <pubDate>Tue, 26 Feb 2008 14:58:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76977#M7597</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-26T14:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76978#M7598</link>
      <description>&lt;BLOCKQUOTE&gt;Ferenc wrote:&lt;BR /&gt;That's exactly what I'm trying first (PlanDump).&lt;BR /&gt;
And that's giving me the message above when attempting to load (Options/Add-Ons Manager)&lt;BR /&gt;
Since it looks like the the MDID_APICD.H has a slightly different format for the GCC compiler I'm thinking it might be the decimal representation of a four byte long integer might be a problem, or the byte/word swapping.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply.&lt;/BLOCKQUOTE&gt;
I modified Plan_DumpFix.grc to look something like the following and it worked (obviously those aren't the real ID's though):
&lt;PRE&gt;/* *****************************************************************************
// Non-localizable resource description for the Plan Dump Add-On
// API Development Kit 11; Mac/Win
//
// Namespaces:			Contact person:
//		-None-
//
// [SG compatible] - Yes
// ****************************************************************************/

'MDID' 32500 "Add-On Identifier" {
	1234	/* Developer ID */
	56789	/* Add-on ID */
}&lt;/PRE&gt;
Does this work for you?</description>
      <pubDate>Wed, 27 Feb 2008 08:58:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76978#M7598</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2008-02-27T08:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76979#M7599</link>
      <description>No, it didn't&lt;BR /&gt;
&lt;BR /&gt;
I tried with the normal decimal (like 1234 how it works on Windows) notation, the 1234UL notation, and even converted them to hex and tried the 0xaa55bc12 notations.&lt;BR /&gt;
&lt;BR /&gt;
There might be something I was missing with the build project after hitting the build button after modifiing the .fix.grc file, (or touching everything and hitting the build button), because sometimes the .rsrc file in the bundle content doesn't seem to get updated, and looking into the file with a hex editor I don't see anywhere the hexa patterns corresponding to my numbers, little endian or big endian sequence either.&lt;BR /&gt;
&lt;BR /&gt;
How do you verify it under mac osx (leopard, intelmac)?&lt;BR /&gt;
Or you just load it and it works (as in windows)?</description>
      <pubDate>Wed, 27 Feb 2008 15:43:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76979#M7599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-27T15:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76980#M7600</link>
      <description>&lt;BLOCKQUOTE&gt;Ferenc wrote:&lt;BR /&gt;How do you verify it under mac osx (leopard, intelmac)?&lt;BR /&gt;
Or you just load it and it works (as in windows)?&lt;/BLOCKQUOTE&gt;
You could check the contents of the add-ons resources using a utility in Apple's Developer kit called "DeRez"&lt;BR /&gt;
&lt;BR /&gt;
It reverses the compilation of resources, creating readable text. You could do this for Plan_Dump by typing something like the following into the Terminal:&lt;PRE&gt;DeRez -useDF /Applications/Graphisoft/ArchiCAD\ 11/Add-Ons/Plan_Dump.apx/Contents/Resources/Plan_Dump.rsrc&lt;/PRE&gt;
Enter the path to your build of the Plan_Dump add-on in the above statement naturally. You should then be able to determine if the built product has an MDID resource and confirm the values are correct.</description>
      <pubDate>Wed, 27 Feb 2008 16:10:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76980#M7600</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2008-02-27T16:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76981#M7601</link>
      <description>Muchas Gracias!&lt;BR /&gt;
&lt;BR /&gt;
I remember DeRez from the old MPW days, should have thought about it in the first time.</description>
      <pubDate>Wed, 27 Feb 2008 16:17:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76981#M7601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-27T16:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add-Ons under Leopard</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76982#M7602</link>
      <description>breakthrough!&lt;BR /&gt;
Thanks for your help.&lt;BR /&gt;
&lt;BR /&gt;
DeRez worked as you told me, except  in the command line the bundle name is plan_dump.bundle not plan_dump.apx&lt;BR /&gt;
&lt;BR /&gt;
I think I still have some problem with the updating via incremental build, so I did (not too scientifically) Clean All and then Build, which created a fresh version of the .rsrc file&lt;BR /&gt;
&lt;BR /&gt;
Thanks again...&lt;BR /&gt;
moving along....</description>
      <pubDate>Wed, 27 Feb 2008 18:43:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Add-Ons-under-Leopard/m-p/76982#M7602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-02-27T18:43:53Z</dc:date>
    </item>
  </channel>
</rss>

