2009-06-18
11:33 AM
- last edited on
2023-08-03
05:07 PM
by
Doreena Deng
2009-06-18 05:54 PM
/* 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)"
}
*/
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.'VERS' {
COMPANY_STR
COPYRIGHT_STR
FILEDESC_STR
1.20
1.20
"ArchiCAD"
9.0
}
where I defined the macros in the localized grc:@#define COMPANY_STR "Archispectives LLC" @#define COPYRIGHT_STR "Copyright © Archispectives LLC 2004" @#define FILEDESC_STR "Provides shortcut key access to individual display options."The idea of the localized resource file for defining the strings is simply for easier translation for muli-language versions.
2009-06-19 09:29 AM
equilibrium wrote: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.
"The file is either not an Add-On or an outdated one that cannot be used with this ArchiCAD version."
How I must to specify version info correct?
2009-06-19 10:13 AM
2009-07-08 12:34 PM
2009-07-08 12:37 PM
santi wrote:Just include the version resource as Karl described above.
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.
2009-07-08 10:52 PM
Ralph wrote:I didnt realize that it was commented outsanti wrote:Just include the version resource as Karl described above.
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.