Hello to all,
While running fglrun some modules that have only functions that are not called on 4GL modules are not being loaded.
This would be fine because there shouldn't be a reason to load a module if none of the functions in it are being used.
Except in this case all the functions are being used by fgl_call from a C extension.
This means that when I call the function from C using fgl_call the program gives the following error:
The function 'mytestfunc' has not been defined in any module in the program.
For now I inserted a dummy function on the module that I call from the main module just to force fglrun to load that module and make all functions available to fgl_call.
Is there any workaround or flag that I can use to force this? Cause my solution is not very elegant...
I tested the example for fgl_call on the manual and added a new 4gl module with only one function being called from the C ext.
The example program is attached to this thread.
Thank you in advance,
José Virtuoso