COM DispInterface/Event handler question
Hello, I'm trying to communicate with another application through COM. The application's COM interface implements events though a DispInterface. In loading the typelib file, LW generates the following: .... ;; Coclass FOOCtl as F-O-O-Ctl ;; Interface IFOOCtl as I-F-O-O-CTL ;; property reader FooActive as GET-FOO-ACTIVE .... ;; DispInterface _IFooEvents as _I-FOO-EVENTS ;; method RecordComplete as RECORD-COMPLETE .... I can make an instance of F-O-O-Ctl, and do a query-interface to get the interface I-F-O-O-CTL from which I can invoke Get-Foo-Active, but I cannot get my hands on _I-Foo-Events. Also, Record-Complete is an event (method) that I wish to handle. I can find no documentation or examples for how COM event handlers should work. I would guess that I would define a function that I hand the Record-Complete method, but I have no indication of whether that should be a regular Lisp function or a foreign function. I'm currently using LW4.2.7 Thanks, R