Sample

LuaCOM

next up previous contents Next: RegisterObject Up: ExposeObject Previous: Return Values   Contents

Sample

myobject = luacom.NewObject(impl_table, "Word.Application")
cookie = luacom.ExposeObject(myobject)
function end_of_application()
  luacom.RevokeObject(cookie)
end



Fabio Mascarenhas de Queiroz 2005-01-07