Integration in Delphi (COM interface)

The TcAdsDll.dll type library has to be imported (TcAdsDll_TLB.pas unit). Depending on the Delphi version, manual adjustments may be required in order to ensure error-free compilation.

System requirements

The following files are needed in order to link the DLL into Delphi programs:

Importing the type library

  1. Open the Import Type Library dialog box via the menu command: Project -> Import Type Library.
  2. Integration in Delphi (COM interface) 1:
  3. In the dialog box select the Beckhoff TcAdsDll x.x Type Library from the list and confirm with a mouse click on Create Unit....

The type library is generated e.g. in the folder .../Delphi 5/Imports. Please integrate the unit in your application.