2007-07-31 12:40 AM - last edited on 2023-08-04 08:51 PM by Doreena Deng
2007-07-31 07:36 PM
lciscon wrote:I observe the same behavior - clean build, but error in add-on manager and add-on admin.
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.
Note: the resource file and headers for that example in SDK 11.21 still referred to ArchiCAD version 10 (ugh!)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.
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.Pretty weird. No ideas other than to confirm what you see.
2007-07-31 07:43 PM
2007-07-31 09:13 PM
2007-08-01 07:56 AM
#define API_RELEASE_VERSION -2 // APIVersion::Dev
#define API_RELEASE_VERSION 1 // APIVersion::R1The final ArchiCAD doesn't load the dev version of the add-on.
2007-08-01 01:51 PM
Akos wrote:
Larry,
Change the following line in the ACAP_dll.cpp file:
#define API_RELEASE_VERSION -2 // APIVersion::Dev
to
#define API_RELEASE_VERSION 1 // APIVersion::R1The final ArchiCAD doesn't load the dev version of the add-on.
HTH,
Akos
2007-08-01 07:10 PM
2007-08-01 10:57 PM
2007-08-01 11:00 PM
Akos wrote:
The problem is really in the ACAP_dll.cpp file; please find enclosed the correct version.
Basically one version number is missing in the current version (
It's our fault, I have to admit.
Hope this helps,
Akos
2007-08-02 12:22 AM