Consultor Eletrônico



Kbase P183416: Error 11982 and 4065 are returned when an OOABL method is specified as a target for a callback
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/2/2011
Status: Unverified

SYMPTOM(s):

Error 11982 and 4065 are returned when an OOABL method is specified as a target for a callback

Error 11982 and 4065 are returned when a method from a class is specified as a target for a callback

Error 11982 and 4065 when specifying an OOABL method of a class within a SET-CALLBACK ABL method.

Third argument to SET-CALLBACK-PROCEDURE must be a valid procedure handle. (11982)

**The SET-CALLBACK attribute on the PROCEDURE widget had invalid arguments. (4065)

Using the SET-CALLBACK method

FACT(s) (Environment):

OpenEdge 10.2x
All Supported Operating Systems

CAUSE:

This is expected behavior. OOABL methods are currently not supported as targets for callbacks. So the SET-CALLBACK ABL method does not apply to procedure object handles.

FIX:

Use procedural programming to use these facilities and then invoke an OOABL method from the callback procedure - if that is what the application needs to do.