Next: GetObject
Up: ImplInterfaceFromTypelib
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.ImplInterfaceFromTypelib(myobject, "test.tlb", "ITest", "Test") -- 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