next up previous contents
Next: 2.4.1 Boolean values Up: 2. LuaCOM Elements Previous: 2.3.5 Exception Handling   Contents

2.4 Type Conversion

LuaCOM is responsible for converting values from COM to Lua and vice versa. Most of the types can be mapped from COM to Lua and vice versa without trouble. But there are some types for which the mapping is not obvious. LuaCOM then uses some predefined rules to do the type conversion. These rules must be known to avoid misinterpretation of the conversion results and to avoid errors.


Vinicius da Silva Almendra 2003-06-27