Stuart_Johnson
asked on
List all components in current project
Hi,
Can anyone recommend an app that will list all the components in a Delphi project (one we have source code for)? We wish to build a manifest so we can work out which components we need to upgrade when moving to .NET.
Thanks very much
Stuart.
Can anyone recommend an app that will list all the components in a Delphi project (one we have source code for)? We wish to build a manifest so we can work out which components we need to upgrade when moving to .NET.
Thanks very much
Stuart.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, It will iterate the whole project but it will only show existing components (i.e. objects instantiated). If your source files contain a TSomeComponent class but there is no instance of it, it will not be included. If that is what you need, you will need to build a parser that will go through all your source code files (.pas files) and pick up all components that descends directly or indirectly from TComponent.
ASKER
Yeah, we also create components at runtime.
I know there is a program which will do this, I just can't for the life of me remember what it is called.
I'll have a look at trying to implement your suggestion and see if that is adequate. It maybe as Im fairly sure the components that we create at runtime would have also been used at design time.
Cheers,
Stuart.
I know there is a program which will do this, I just can't for the life of me remember what it is called.
I'll have a look at trying to implement your suggestion and see if that is adequate. It maybe as Im fairly sure the components that we create at runtime would have also been used at design time.
Cheers,
Stuart.
ASKER
Sorry about that. In amongst everything else that's going on, I completely forgot about this question.
Thank you Pierre for your help.
Stuart
Thank you Pierre for your help.
Stuart
ASKER
With this iterate through the WHOLE project and tell me what components I have? Even on forms that are not currently in memory?
Thanks for the response,
Stuart