<?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: Critical problem with Dll_test in latest SDK? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110103#M7520</link>
    <description>Awesome! Thank you! I *really* appreciate it!&lt;BR /&gt;
&lt;BR /&gt;
-larry&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;The problem is really in the ACAP_dll.cpp file; please find enclosed the correct version.&lt;BR /&gt;
&lt;BR /&gt;
Basically one version number is missing in the current version &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;(&lt;BR /&gt;
&lt;BR /&gt;
It's our fault, I have to admit.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
&lt;BR /&gt;
Akos&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 01 Aug 2007 21:00:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-08-01T21:00:22Z</dc:date>
    <item>
      <title>!Restored: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110095#M7509</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;There appears to be a serious problem with the Dll_test example in the latest SDK 11 with the latest ArchiCAD 11: No matter what I do it gives an error "The file is an outdated Add-On that cannot be used with this ArchiCAD version" when I try to build and install the resulting plugin into ArchiCAD. &lt;BR /&gt;&lt;BR /&gt;Note: the resource file and headers for that example in SDK 11.21 still referred to ArchiCAD version 10 (ugh!), and the ACAPlib_dll.cpp file had a reference to API version 11 release -2 (yes, negative two). I updated the resource file to say version 11 and the API to version 11 release 1. But this did not make a difference. &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This is a critical issue for us because our own plugin dll loads using the same mechanism and it is getting the same error. We have several paying customers waiting on this update. &lt;BR /&gt;&lt;/STRONG&gt; &lt;BR /&gt;&lt;BR /&gt;Any suggestions or ideas are appreciated. &lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;BR /&gt;&lt;BR /&gt;-larry&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Aug 2023 18:51:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110095#M7509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-04T18:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110096#M7510</link>
      <description>&lt;BLOCKQUOTE&gt;lciscon wrote:&lt;BR /&gt;There appears to be a serious problem with the Dll_test example in the latest SDK 11 with the latest ArchiCAD 11: No matter what I do it gives an error "The file is an outdated Add-On that cannot be used with this ArchiCAD version" when I try to build and install the resulting plugin into ArchiCAD. &lt;/BLOCKQUOTE&gt;

I observe the same behavior - clean build,  but error in add-on manager and add-on admin.&lt;BR /&gt;
 
&lt;BLOCKQUOTE&gt;Note: the resource file and headers for that example in SDK 11.21 still referred to ArchiCAD version 10 (ugh!)&lt;/BLOCKQUOTE&gt;

At least for the grc file, this isn't an issue other than an oversight by GS - that 10.0 reference is simply text in the VERS block which the user is supposed to replace entirely anyway.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;and the ACAPlib_dll.cpp file had a reference to API version 11 release -2 (yes, negative two). I updated the resource file to say version 11 and the API to version 11 release 1.  But this did not make a difference. &lt;/BLOCKQUOTE&gt;

Pretty weird.  No ideas other than to confirm what you see.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Tue, 31 Jul 2007 17:36:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110096#M7510</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2007-07-31T17:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110097#M7511</link>
      <description>Just some further info...not any help really...&lt;BR /&gt;
&lt;BR /&gt;
Add-On Manager inside AC 11 says the compiled addon is 'outdated'.&lt;BR /&gt;
&lt;BR /&gt;
But, if I use AddOnAdmin (from Support &amp;gt; Tools &amp;gt; ... &amp;gt; AddOn Management), Check tab and Load File...&lt;BR /&gt;
&lt;BR /&gt;
An AC 10 add-on shows up with the message "DevKit Version: Undefined (Undefined release)"&lt;BR /&gt;
&lt;BR /&gt;
The dll_test add-on, with the '-2' value or a '1' value shows up with an error 99 ('unknown addon registering error').  With a positive 2, it shows up without error as an 11.0 (R2) add-on without error...but won't load.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Tue, 31 Jul 2007 17:43:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110097#M7511</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2007-07-31T17:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110098#M7512</link>
      <description>Thanks for trying that out.  I must admit I'm relieved it wasn't an obvious mistake on my part... although  I'm sure it's something simple regardless.  &lt;BR /&gt;
&lt;BR /&gt;
It would help tremendously if there was a way to get more verbose information on the exact load steps and failure conditions via the debug monitor...perhaps there is a way to turn this on via the ArchiCAD command line parameters??&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.&lt;BR /&gt;
&lt;BR /&gt;
    -larry</description>
      <pubDate>Tue, 31 Jul 2007 19:13:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110098#M7512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-07-31T19:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110099#M7513</link>
      <description>Larry,&lt;BR /&gt;
&lt;BR /&gt;
Change the following line in the ACAP_dll.cpp file:&lt;BR /&gt;

&lt;PRE&gt;#define	API_RELEASE_VERSION		-2 // APIVersion::Dev&lt;/PRE&gt;

&lt;BR /&gt;
to &lt;BR /&gt;

&lt;PRE&gt;#define	API_RELEASE_VERSION		1 // APIVersion::R1&lt;/PRE&gt;

The final ArchiCAD doesn't load the dev version of the add-on.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Wed, 01 Aug 2007 05:56:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110099#M7513</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2007-08-01T05:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110100#M7515</link>
      <description>As I mentioned in my first post, I already tried that.  And as Karl confirms above,  it doesn't work.  ArchiCAD still gives the "outdated add-on" error when you try to load it.  &lt;BR /&gt;
&lt;BR /&gt;
I readily admit I could be doing something simple wrong.   So If you've gotten it to work, please send me the source directory and compiled plugin for Dll_Test to my email (&lt;A href="mailto: lciscon@trelligence.com"&gt;lciscon@trelligence.com&lt;/A&gt;).&lt;BR /&gt;
&lt;BR /&gt;
If not, please fix the problem ASAP.  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-larry&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;Larry,&lt;BR /&gt;
&lt;BR /&gt;
Change the following line in the ACAP_dll.cpp file:&lt;BR /&gt;

&lt;PRE&gt;#define	API_RELEASE_VERSION		-2 // APIVersion::Dev&lt;/PRE&gt;

&lt;BR /&gt;
to &lt;BR /&gt;

&lt;PRE&gt;#define	API_RELEASE_VERSION		1 // APIVersion::R1&lt;/PRE&gt;

The final ArchiCAD doesn't load the dev version of the add-on.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
&lt;BR /&gt;
Akos&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 01 Aug 2007 11:51:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110100#M7515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-01T11:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110101#M7517</link>
      <description>Thanks for posting, Akos.  Attached is a screenshot of what I described earlier.  Version set as you describe, but note the error messages / codes in Add-On Manager (AC) and Add-On Management &amp;gt; Check (Dev Tools).&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 01 Aug 2007 17:10:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110101#M7517</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2007-08-01T17:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110102#M7518</link>
      <description>The problem is really in the ACAP_dll.cpp file; please find enclosed the correct version.&lt;BR /&gt;
&lt;BR /&gt;
Basically one version number is missing in the current version &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;(&lt;BR /&gt;
&lt;BR /&gt;
It's our fault, I have to admit.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Wed, 01 Aug 2007 20:57:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110102#M7518</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2007-08-01T20:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110103#M7520</link>
      <description>Awesome! Thank you! I *really* appreciate it!&lt;BR /&gt;
&lt;BR /&gt;
-larry&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Akos wrote:&lt;BR /&gt;The problem is really in the ACAP_dll.cpp file; please find enclosed the correct version.&lt;BR /&gt;
&lt;BR /&gt;
Basically one version number is missing in the current version &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;(&lt;BR /&gt;
&lt;BR /&gt;
It's our fault, I have to admit.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps,&lt;BR /&gt;
&lt;BR /&gt;
Akos&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 01 Aug 2007 21:00:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110103#M7520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-08-01T21:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Critical problem with Dll_test in latest SDK?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110104#M7521</link>
      <description>Thanks, Akos!&lt;BR /&gt;
&lt;BR /&gt;
Larry:  it seems that for the dll_test.apx to not cause a crashdump, you have to also have ACAP_DLL.apx (from the devkit Support folder) in your Add-Ons folder.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 01 Aug 2007 22:22:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Restored-Critical-problem-with-Dll-test-in-latest-SDK/m-p/110104#M7521</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2007-08-01T22:22:30Z</dc:date>
    </item>
  </channel>
</rss>

