Next: releaseConnection
Up: addConnection
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") cookie = luacom.addConnection(obj, event_obj)
Fabio Mascarenhas de Queiroz 2005-01-07