next up previous contents
Next: Calling COM from Up: 2.3 ActiveX binding Previous: 2.3.3 Connection Points   Contents

2.3.4 Parameter Passing

LuaCOM has some policies concerning parameter passing. They specify how LuaCOM will translate COM parameter lists to Lua and vice-versa. There are two different situations to which these policies apply: calling a method of a COM object from Lua and calling a Lua function from COM. The main question here is how to deal with the different types of parameters supported by COM (``in'' parameters, ``out'' parameters, ``in-out'' parameters, ``optional'' parameters and ``defaultvalue'' parameters). There is also a special policy concerning generic LuaCOM objects.


Vinicius da Silva Almendra 2003-06-27