'Support' wrote:
Project2_TLB.pas doesn't exists, could you send me this file?
The TLB file is auto-created when you import the activeX object into your (exe) project and will probably need to be restructured since it contains location-based information.
Steps for Delphi XE6:
First you need to register the .ocx file (command prompt (as administrator) > regsvr32 Project2.ocx)
After this step, in the project of the EXE file delete the current Project2_TLB.pas from the project (project manager, right click, remove from project).
Then go to the View tab > Registered Type Libraries and search for an entry with the same filename as the previously registered .ocx file.
Select this entry and click on “Import”, check “Generate Component Wrappers”, click “Next” and finally click “Finish”.
The steps may vary for other versions of Delphi, I remember that in Delphi 7, you needed to use “project” > “import type library” instead of “Registered type libraries”