Consultor Eletrônico



Kbase P169648: Error (5638) compiling or running 10.2B code under 10.2A
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/12/2010
Status: Unverified

SYMPTOM(s):

Error (5638) compiling or running 10.2B code under 10.2A

Invalid datatype specified: <type>. Specify a datatype such as 'character' or the name of a class. (5638)


Invalid datatype specified: Progress.Util.ResourceManager. Specify a datatype such as 'character' or the name of a class. (5638)

The offending code:

DEFINE VARIABLE resources AS Progress.Util.ResourceManager NO-UNDO.
resources = NEW Progress.Util.ResourceManager("Consultingwerk.Samples.CustomerMaintenanceForm").

FACT(s) (Environment):

Windows
OpenEdge 10.2A
OpenEdge 10.2B

CAUSE:

The offending code was generated by the OpenEdge 10.2B Visual Designer. Developing or editing code using the OpenEdge 10.2B Visual Designer may create code constructs that are not supported in OpenEdge 10.2A.

FIX:

To ensure that your code compiles and runs error free under OpenEdge 10.2A, develop or modify the using the OpenEdge 10.2A Visual Designer because code developed or modified using the OpenEdge 10.2B Visual Designer may generate code constructs that are not compatible or supported under 10.2A.

For example, if you are using the OpenEdge Visual Designer to edit existing (created in a previous OpenEdge version) GUI for .NET code, the generated code will be updated to the current version of OpenEdge Architect and may no longer be compatible or executable under the previous version. Even if you believe you are not using new features from the current version, the Visual Designer generated code may contain new language constructs that are not compatible with previous OpenEdge compiler and runtime (AVM) versions.

Therefore, the version of OpenEdge that you use to compile and execute that code must match (or be greater) than the version of OpenEdge Architect used for editing through the Visual Designer.