[COM] Bug in COMEventSink>>Invoke:?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[COM] Bug in COMEventSink>>Invoke:?

Dennis Schetinin
Hi all!

Playing with Internet Explorer I've found a strange thing. (Some time ago I've asked --- here and here --- about this, but had no reply.) Now I think the cause is COMEventSink>>Invoke: dispidMember, where the value of  arguments is lost after

COMEventSink>>Invoke:
...
eventAction value: eventName value: arguments.

So, I've added

arguments with: dispParams arguments do: [:new :old | old value: new value]

there, and now it works (including NewWindow2 event handling I've mentioned earlier). I didn't go deep into VW's COM implementation, so possibly I'm wrong... But I hope, this information can help someone :)

--
Dennis Schetinin