[Migrated content. Thread originally posted on 25 September 2007]
I've got a COM object with a method that invokes a user interface. This is not ActiveX, the object controls the interface. When I invoke the method, I want my Cobol program to essentially stop and do nothing other than listen for events from the object. I'm using a simple PERFORM loop to "wait" while it's listening for and processing events. However, when I execute it the program never responds to any of the events.Using the AcuCobol-GT Debugger I can see that when I perform actions in the COM object's interface that should trigger events, it does break back into the event procedure defined for the object. However, the EVENT-TYPE value doesn't indicate that the event is an ActiveX event, so the program ignores it. When the event procedure is triggered both EVENT-TYPE and EVENT-TYPE-2 contain the value 538976288. As a result, none of the events are being processed. Has anyone experienced anything like this before?
I've attached a small sample program & accompanying .DEF file. Hopefully I'm missing something really obvious...
Thanks!
Laura



