next up previous contents
Next: Parameters Up: ExposeObject Previous: Use   Contents

Description

This method creates and registers a class factory for luacom_obj, so that other running applications can use it. It returns a cookie that must be used to unregister the object. If the method fails, it returns nil. ATTENTION: the object MUST be unregistered (using RevokeObject) before calling luacom_close or lua_close, otherwise unhandled exceptions might occur.

Fabio Mascarenhas de Queiroz 2005-06-06