Consultor Eletrônico



Kbase P93253: Global-defined preprocessor directives in AppBuilder Extended Feature (XFTR) being ignored
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/09/2004
Status: Unverified

SYMPTOM(s):

Include files referenced as Method libraries ignore preprocessors in XFTR block

Code originally generated in Progress version 8

Code saved in later Progress release (version 9 or OpenEdge 10)

CAUSE:

The direct cause of this issue is that in between releases, the position in the generated 4GL code of the include file references for the method libraries has changed to facilitate a number of new features.
Because of this change, they now appear before the XFTR blocks, thus the preprocessors are not yet defined when the include files are processed.

However, as it is not expected to have code other than comments in an XFTR block, any preprocessors placed there cannot be expected to work to begin with.

FIX:

Move preprocessor directives to the definition block of the program.

If these are generated by the XFTR event handler, modify the handler to write them in the appropriate location.