Is there a way to pack/encrypt built-in GDL Objects?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-07-13
10:35 PM
- last edited on
‎2023-05-23
04:39 PM
by
Rubia Torres
‎2009-07-13
10:35 PM
I am developing an Add-on with built-in GDL Objects in its resources. I am registering and loading these Objects with ACAPI_Register_BuiltInLibrary function.
Is there a way to pack or encrypt these GDL Objects, so no one should be able to extract GDL code from my Add-on?
Thanks for your time!
Labels:
- Labels:
-
Library (GDL)
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-07-14 10:01 AM
‎2009-07-14
10:01 AM
EzPresso wrote:Yes, GDL objects can be bundled in the add-on as a 'FILE' resource. However, don't look on this as a protection mechanism. There is no way to prevent anyone but the most naive user from extracting the code from a GDL object, whether it's bundled in an add-on or not.
Is there a way to pack or encrypt these GDL Objects, so no one should be able to extract GDL code from my Add-on?
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-07-15 12:42 PM
‎2009-07-15
12:42 PM
Yes, GDL objects can be bundled in the add-on as a 'FILE' resource.That's what I do (and it is mentioned in the original question). Is it possible to put a compressed GDL object (.pla, etc) in the FILE resource and load them in Add-On?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-07-16 03:58 PM
‎2009-07-16
03:58 PM
EzPresso wrote:Yes, any file can be imbedded as a FILE resource and read by the add-on, although the functions to read the resource are not part of the ArchiCAD API. Use the host OS API instead.
Is it possible to put a compressed GDL object (.pla, etc) in the FILE resource and load them in Add-On?
Ralph Wessel BArch
Central Innovation
Central Innovation
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2009-09-23 05:22 PM
‎2009-09-23
05:22 PM
Ralph wrote:See RS.hpp in GSRoot
although the functions to read the resource are not part of the ArchiCAD API

Best, Akos