Genero Desktop Client ActiveX / Adding a GDCAX Application |
You can configure an application for the Genero Desktop Client ActiveX (GDCAX) in the Genero Application Server configuration file.
To add an application for GDCAX, you only need to specify:
your application Id
the parent application where the main configuration is set (in this example, defaultgdc)
the path to your compiled files
the main module to launch
In the following example the path is a resource; this can also be an absolute path to your application files.
<APPLICATION Id="gdc-demo" Parent="defaultgdc"> <EXECUTION> <PATH>$(res.path.fgldir.demo)</PATH> <MODULE>demo.42r</MODULE> </EXECUTION> </APPLICATION>
defaultgdc is the parent of any web application for GDCAX.
<APPLICATION Id="defaultgdc" Parent="defaultwa" Abstract="TRUE"> <OUTPUT Rule="UseGDC"/> </APPLICATION>
The defaultgdc application inherits from the defaultwa application. In the Abstract application section, defaultwa is the parent for any web application.