RAD Studio provides wizards that help you create COM projects and COM objects. These wizards are available for both Delphi, and C++ projects. The following COM wizards are provided:
- ActiveX Library
- COM Object
- Type Library
- Active Form
- Active Server Object
- Automation Object
- COM+ Event Object
- COM+ Subscription Object
- Property Page
To use a COM wizard
- Choose FileNewOther. The New Items dialog box displays.
- In the Item Categories tree, click the ActiveX folder. The wizards available are shown in the right-hand pane of the New Items dialog. COM wizards are available for both C++ and Delphi projects.
- Double-click the wizard you wish to use.
Note: If your application implements more than one COM object, you should specify the same instancing for all of them.