- SvCom
- Shell+
- PerfUtils


- SvCom
- Shell+
- PerfUtils


- Order now


- Contact directly

Embarcadero Technology Partner

    TypeLib import  

Create new empty GUI application now. Save the project as ComClientWithEvents.dpr and its main form as fmComClient.pas. The next step is to generate typelibrary import file and register it in components palette.

Run the Project|Import Type Library dialog and search for ComServiceWithEvents Library there. Note that "ComServiceWithEvents Library" is the previous example's typelibrary name.

Change the Unit dir name to the example's directory and turn on the Generate Component Wrapper checkbox. Press Create Unit button now. Open the unit and save it is ComServiceWithEvents_Import.pas, i.e. change _TLB at the end to the _Import. We do so to avoid conflicts with original _TLB file from the provious example.

The typelibrary impoprt unit contains a component definition. This unit should be registered in the components palette to make the component available for further use. Run the Component|Install component dialog:

Browse for ComServiceWithEvents_Import.pas unit and press OK button. The DclUsr package will appear. Click Install button to compile and install it. Now you can see the new components on ActiveX palette page is available. We'll use this component on the next step to implement service connection.


<< . index . 1 . 2 . 3 . >>
SvCom links:

- Overview
- Download
- Purchase
- Tutorial
- What's new
- For registered users
- Support


© 1998-2003. Alexey Dynnikov
© 2003-2016. ALDYN Software
© Design: Adonis i-cafe.