Hello José,
yes, this solution is not very elegant...
There is no better solution, unfortunately (except using the linker).
The macro fgl_call calls a 4GL function by name. The name is resolved at runtime. The function name can not be qualified by a module-name.
The way of calling 4GL function from C can be compared with way of calling a combobox initialiser. See fglform: the INITIALIZER attribute of COMBOBOX.
Until 3.20.10: the name of the initializer function could not be qualified by a module-name.
Since 3.20.10: FGL-2331: fglform: ComboBox.initializer: Supports function names that are qualified by a module name.
An similar enhancement would fix your issue...
Feature request: the macro fgl_call should support function names qualified by a module name.
Rene