next up previous contents
Next: 3.4.4 Registration Information Up: 3.4 Building a LuaCOM Previous: 3.4.2 Objects to be   Contents

3.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.

Vinicius da Silva Almendra 2003-06-27