Consultor Eletrônico



Kbase 19777: ENABLE-EVENTS method does not work in all cases
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/7/2009
Status: Verified

SYMPTOM(s):

ActiveX Automation Object does not send events back to Progress

ActiveX Automation Object built in Visual Basic does not send events back to Progress

ActiveX Automation Object does not use the IDispatch event interface to handle events

FACT(s) (Environment):

Progress 9.1D
Progress 9.1E
OpenEdge 10.0A
OpenEdge 10.0B
Windows

CAUSE:

Bug# OE00086341

CAUSE:

When an ActiveX Automation Object tried to enable event-handling with Progress, if the event-handling interface being used was not the IDispatch event interface then an error would be returned indicating that Progress did not know how to handle events from whatever type of object the ActiveX was using (all Progress supported was the IDispatch event interface for event-handling).

FIX:

Upgrade to 9.1E01 or later.
Upgrade to 10.0B02 or later.

Progress 4GL now looks at the type (class) of the object that is trying to enable events with Progress. If it is derived from the IDispatch event interface, then Progress goes ahead and allows the event-handling to proceed.