Integration in Delphi XE2 (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
- Delphi XE2;
- TwinCAT 2.9 or higher;
- TcAdsDll.dll - dynamic function library located in the 'System32' directory of Windows NT/2000/XP/...
Importing the type library
- In the menu call the command: Component -> Import component. In the dialog select the option: Import type library and confirm with Next.
- Select Beckhoff TcAdsDll x.x Type Library from the list of registered libraries and then confirm with Next.
- Confirm the next dialog also with Next.
- In the next dialog, select the option: Create Unit and confirm with Finish.



The type library is generated e.g. in the folder .../RAD Studio/9.0/Imports. Please integrate the unit in your application.