Kbase P168296: Handling COM automation events in an OOABL class is impossible
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/24/2011 |
|
Status: Verified
SYMPTOM(s):
Handling COM automation events in an OOABL class is impossible
ENABLE-EVENTS method cannot be used in class successfully
Trying to specify method name in "prefix.eventname" format results in syntax errors:
** Unable to understand after -- "<string>". (247)
** The character <character> is not permitted in name <name>. (274)
Trying to call ENABLE-EVENTS without specifying a prefix string results in runtime error:
Enable-Events requires 1 character argument. (7309)
Specifying a prefix for ENABLE-EVENTS and having methods with just the event names causes events to be ignored
FACT(s) (Environment):
OpenEdge 10.1x
OpenEdge 10.2x
Windows
CAUSE:
Enhancement Request# OE00198465
FIX:
This Enhancement has not been implemented in the product.
Workaround:
Put code handling com-object in a (persistent) procedure instead, and manage that procedure from within the class