Next: 3.2 Is it really
Up: 3. Implementing COM objects
Previous: 3. Implementing COM objects
With LuaCOM it is possible to implement full-fledged COM objects
using Lua. Here we understand a COM object as a composite of these
The registry information maps a ProgID to a CLSID, which is, in turn,
mapped to a server. The type information describes the component, that
is, which interfaces it exposes and what is the default interface.
LuaCOM simplifies these tasks providing some helper functions to
deal with registration and instantiation of COM servers. By now
LuaCOM supports only EXE servers, although we do not see any problem
in extending it to support DLL servers as well.
- a server, which implements one or more COM objects;
- registry information, which associates a CLSID (Class ID) to
a triple server - type library - default interface;
- a ProgID (Programmatic Identifier) which is a name associated to
- a type library containing a CoClass element.
Vinicius da Silva Almendra