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

Description

This method finds the default source interface of the object luacom_obj, creates an instance of this interface whose implementation is given by implementation_table and creates a connection point between the luacom_obj and the implemented source interface. Any calls made by the luacom_obj to the source interface implementation will be translated to Lua calls to member function present in the implementation_table. If the method succeeds, the LuaCOM object implemented by implementation_table, plus a cookie that identifies the connection, are returned; otherwise, nil is returned. Notice that, to receive events, it's necessary to have a Windows message loop.

Fabio Mascarenhas de Queiroz 2005-06-06