Online Eiffel Documentation
EiffelStudio

Eiffel Project Processing

The EiffelCOM Wizard can be used to add a COM interface to an existing Eiffel project. The advantage of that approach is that it doesn't require any knowledge about IDL. The EiffelCOM Wizard will take care of generating the IDL from the Eiffel facade class. The generated IDL will define one coclass containing one interface that corresponds to the contract view of the facade class.

Designing the Facade Class

The facade class should be designed so that it exposes the functionality of the Eiffel system that needs to be accessed from clients of the component. Only the public routines will be exported to the IDL and thus to clients (the class should not have any public attributes, see the list of requirements below).

There are some rules that the facade class must follow for the COM wizard to be able to generate correct IDL:

See Also: How the EiffelCOM Wizard Works, Generated Files, Class Hierarchy, Adding a COM Interface to an Eiffel Project,Accessing a COM Component,Reusing a COM Component,Command Line Options