Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way of automatically find all third-party components used on a project?

Tags:

delphi

Is there any Delphi expert or similar that allows me to automatically find all third-party components used on a project?

I need to send a project that uses several third-party components and in order to compile I'll also have to include the third-party components it uses. Any quicker way than manually looking at all the forms for third-party components?

like image 886
smartins Avatar asked Feb 26 '23 22:02

smartins


2 Answers

Clear out the Delphi search paths in the global and project options and re-add them one-by-one when the compiler or IDE complains. You may need to delete your DCUs.

Another source-based approach you could use is to run XN Resource Editor on your executable, and look at the RC Data\PACKAGEINFO\Language Neutral node. The Contains tab will show every unit that's linked into your executable.

like image 134
Zoë Peterson Avatar answered Apr 09 '23 09:04

Zoë Peterson


Borland had a tool a few years ago now called "VCLScanner". It parsed all your source and told you what components you used and in how many places. It sounds just like what you are asking for. This is a link to it: http://www.torry.net/pages.php?id=482

like image 35
Robert C Avatar answered Apr 09 '23 11:04

Robert C