Next: ProgIDfromCLSID
Up: releaseConnection
Previous: Return Values
Contents
Fabio Mascarenhas de Queiroz 2005-01-07
Sample
obj = luacom.CreateObject("TEST.Test") event_sink = {} function event_sink:KeyPress(keynumber) print(keynumber) end event_obj = luacom.ImplInterface( event_sink, "TEST.Test", "ITestEvents") result = luacom.addConnection(obj, event_obj) . . . luacom.releaseConnection(obj)
Fabio Mascarenhas de Queiroz 2005-01-07