Hi everyone, I'm new to this forum and new to JS, I was hoping someone could help me.
I've had some code, written by my predecessors in the company, in which some Javascript was handling events of a VB6 object using the FOR/EVENT syntax. I was asked to replace the VB6 with an ATL object. I did, with the same class Id and everything, but the Javascript no longer registers for the event. The object methods are called, but the events are not raised. I debugged the COM object, the event is indeed fired and there are 0 connections. I was also able to handle these events in VB6.
I tried to replace the FOR/EVENT syntax with object1.eventname=function, to no avail.
What am I missing?
Thanks in advance!
Almog.