Before you start you must have an application development tool that is capable of creating ActiveX COM objects supporting the IDispatch interface, such as:
- Borland Delphi
- Microsoft Visual Basic
- Microsoft Visual Studio .Net.
You should consider how to define menu items. To help with this, you could review some examples of Automation Interfaces (this web page provides examples of code used to create Add-Ins for Enterprise Architect).
Create an Add-In
An Enterprise Architect Add-In can be created in four steps:
- Use a development tool to create an ActiveX COM DLL project. Visual Basic users, for example, choose File-Create New Project-ActiveX DLL.
- Connect to the interface using the syntax appropriate to the language as detailed in the Connect to the Interface topic.
- Create a COM Class and implement each of the general Add-In Events applicable to your Add-In. You only have to define methods for events to respond to.
- Add a registry key that identifies your Add-In to Enterprise Architect, as described in the Deploy Add-Ins topic.