obj = luacom_CreateObject("MyObject.Test") if luacom_isMember(obj, "Test") then result = obj:Test() end