Kbase P111010: How to identify which COM object generates an event
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/11/2005 |
|
Status: Unverified
GOAL:
How to identify which COM object generates an event
GOAL:
How to obtain the COM-Handle of the ActiveX/COM object generating an event?
GOAL:
How to identify which COM object generated an event if multiple instances of that COM object are running
FIX:
Use the COM-SELF system handle within the event-handling procedure. COM-SELF will return a component handle to the ActiveX object (ActiveX control or ActiveX automation object) that generated the event being handled by the currently executing ActiveX event procedure.