4.4.3 Building the type library

LuaCOM

next up previous contents Next: 4.4.4 Registration Information Up: 4.4 Building a LuaCOM Previous: 4.4.2 Objects to be   Contents

4.4.3 Building the type library

The type library should contain entries for all the interfaces of exported objects and an entry for the CoClass, specifying the interface of the Application object and the interface used to send events.

The most common way to build a type library is to write an IDL describing the type library and them use an IDL compiler, such as Microsoft's© MIDL. Notice that all the interfaces must be dispinterfaces, that is, must inherit from IDispatch, and must have the flag oleautomation.



Fabio Mascarenhas de Queiroz 2005-01-07