Consultor Eletrônico



Kbase P156901: Application developed in Progress 8.x using ADM gets error 560 when compiled in OpenEdge 10
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/3/2009
Status: Unverified

SYMPTOM(s):

Application developed in Progress 8.x using ADM

Application brought forward to OpenEdge 10.2A

Error 560 is received during the dispatch of local-init

Entry <entry#> is outside the range of list <list-string>. (560)

FACT(s) (Environment):

Windows
OpenEdge 10.x

CAUSE:

The smart.i include file which is part of ADM has the following code which generates the incorrect preprocessor definitions when compiled in OpenEdge 10:

&IF PROVERSION GE "8.1":U &THEN
&GLOB adm-data ADM-DATA
&GLOB unless-hidden UNLESS-HIDDEN
&ELSE
&GLOB adm-data PRIVATE-DATA
&GLOB unless-hidden
&ENDIF

FIX:

Modify the code in smart.i and change the above code to:

&GLOB adm-data ADM-DATA
&GLOB unless-hidden UNLESS-HIDDEN

and then recompile your application.