Next: ImplInterfaceFromTypelib
Up: ImplInterface
Previous: Return Values
Contents
Fabio Mascarenhas de Queiroz 2005-01-07
Sample
myobject = {} function myobject:MyMethod() print("My method!") end myobject.Property = "teste" luacom_obj = luacom.ImplInterface(myobject, "TEST.Test", "ITest") -- these are done via Lua myobject:MyMethod() print(myobject.Property) -- this call is done through COM luacom_obj:MyMethod() print(luacom_obj.Property)
Fabio Mascarenhas de Queiroz 2005-01-07