简体   繁体   English

有没有办法自动查找项目中使用的所有第三方组件?

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

Is there any Delphi expert or similar that allows me to automatically find all third-party components used on a project? 是否有任何Delphi专家或类似工具允许我自动查找项目中使用的所有第三方组件?

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? 比手动查看第三方组件的所有表单更快捷的方法?

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. 清除全局和项目选项中的Delphi搜索路径,并在编译器或IDE抱怨时逐个重新添加它们。 You may need to delete your DCUs. 您可能需要删除DCU。

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. 您可以使用的另一种基于源的方法是在可执行文件上运行XN资源编辑器 ,然后查看RC Data\\PACKAGEINFO\\Language Neutral节点。 The Contains tab will show every unit that's linked into your executable. 包含”选项卡将显示链接到可执行文件的每个单元。

Borland had a tool a few years ago now called "VCLScanner". 几年前Borland有一个工具现在称为“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 这是它的链接: http//www.torry.net/pages.php?id = 482

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 任何第三方都可以从我的项目中加载嵌入的资源吗? - Can any third-party load embedded resources from my project? 如何在Delphi中对第三方电子邮件组件进行单元测试? - How to unit test third-party email components in Delphi? 如何停止从第三方组件重建.dcu? - How to stop rebuilding .dcu from third-party components? 如何使用版本控制中的第三方组件管理Delphi项目? - How do you manage your Delphi Projects with third-party components in Version Control? 解析从第三方 Web 服务读取的未知 XML - Parsing an unknown XML read from a third-party webservice 分发带有第三方UI元素的设计时程序包 - Distributing a design-time package w/third-party UI elements 您如何对与第三方 COM 对象交互并实例化的代码进行单元测试? - How do you unit-test code that interacts with and instantiates third-party COM objects? 如何在第三方Delphi应用程序中获取控件的属性列表和值? - How to get the property list and values of a control within a third-party Delphi application? iOS上的Delphi XE2,带有Indy或第三方Internet组件 - Delphi XE2 on iOS with Indy or Third Party Internet Components Delphi XE3的第三方VCL组件在XE4中? - Delphi XE3 third party VCL components in the XE4?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM