next up previous contents
Next: 3.3.4 Parameter Passing Up: 3.3.3 Connection Points: handling Previous: 3.3.3 Connection Points: handling   Contents

3.3.3.0.1 Message loop

To receive events it's necessary to have a message loop in the thread that owns the object used to make the connection, as COM deals with multiple method calls serializing then in a message queue created during COM initialization. Without a message loop, the objects implemented on the client side, that is, with LuaCOM, wont't ever receive method calls from the server side, that is, the COM objects used through LuaCOM.

Vinicius da Silva Almendra 2004-02-19