Sample

LuaCOM

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

Sample

-- Lua registration code
function UnRegisterComponent()
  reginfo.VersionIndependentProgID = "TESTE.Teste"
  -- Adds version information
  reginfo.ProgID = reginfo.VersionIndependentProgID..".1"
  reginfo.TypeLib = "teste.tlb"
  reginfo.CoClass = "Teste"
  local res = luacom.UnRegisterObject(reginfo)
  return res
end



Fabio Mascarenhas de Queiroz 2005-01-07