[SOLVED] Trying to use C++ variables into GDL scripts
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-08-23
02:48 PM
- last edited on
‎2024-09-09
11:24 AM
by
Doreena Deng
‎2017-08-23
02:48 PM
Hello,
I'm trying to use C++ variables into GDL scripts in order to use them in objects.
Does anyone have an idea ?
Regards.
I'm trying to use C++ variables into GDL scripts in order to use them in objects.
Does anyone have an idea ?

Regards.
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2017-09-12 02:32 PM
‎2017-09-12
02:32 PM
Hello,
C++ and GDL are two different languages.
Can you describe it more precisely why would you like to use C++ variables in GDL script?
Best,
Mihály
C++ and GDL are two different languages.
Can you describe it more precisely why would you like to use C++ variables in GDL script?
Best,
Mihály
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-01-10 02:03 PM
‎2018-01-10
02:03 PM
Cedric wrote:
Hello,
I'm trying to use C++ variables into GDL scripts in order to use them in objects.
Does anyone have an idea ?![]()
Regards.
If talking about simple C ++ variables (those that have analogs defined in GDL, but not different structures and classes) then I see 2 ways.
1 first through the development of the extension GDL, which will intercept the commands GDL OPEN (required), INPUT (working) and return through INPUT variables from C ++ directly into the script
2 Develop a common extension that will find your elements and change the required library element parameters to the variables you need from C ++. (APIAny_ ChangeAParameterID)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2022-06-02 11:41 AM
‎2022-06-02
11:41 AM
From the company's point of view, if GDL can read C++ variables, wouldn't it be possible to completely SOFTWAEW LOCK GDL?
If I knew how to make a GDL that can only be used by running ADDON, I have a desire to make it. ^^
AC27 on window 11