Hi

Hi,

is there a way to get a list of all the installed components and their versions a project is using (Not installed in the IDE)? I'd like to keep this for debug purposes when a build is out.

Thanks.

Comments

  1. Use RTTI.pas functionality to iterate over all classes in the project and find all those that descend from TComponent.

    ReplyDelete
  2. If I got you right, you are looking for a dependency scanner. Although, I'm not sure how something like a version can be identified from this. There is Peganza Pascal Analyzer which has a usage report and also ModelMaker Code Explorer with its Unit Dependencies Analyzer, just to name two.

    ReplyDelete
  3. Say I have Component 1, 2 and 3 installed in the IDE and in my project I use only components 1 and 3. I'd like a report showing components 1 and 3 and their versions. Uwe Raabe perhaps if I can get the list of units and compare with the list of packages installed in IDE, I can get this info. Regarding the version, it is hard as there is no standard way people keep track of it in their components. Maybe the version of the .bpl package? or the date?

    ReplyDelete

Post a Comment