确定要包含的Delphi运行时程序包 [英] Determining Delphi Runtime Packages to Include

查看:222
本文介绍了确定要包含的Delphi运行时程序包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Delphi DLL,其中包含使用各种第三方组件的表单。许多不同版本的Delphi使用此DLL。我将第三方组件编译到DLL中。我相信我仍然需要链接到一些基本 Delphi程序包,例如rtl,vcl等,因此我的DLL将使用Delphi IDE使用的相同的内存管理器和其他全局资源。我如何找出需要链接的BPL?

I have a Delphi DLL that houses a form which uses a variety of third party components. This DLL is used by many different versions of Delphi. I compile the third party components into the DLL. I believe I still need to link to some "base" Delphi packages like rtl, vcl, etc, so my DLL will use the same memory manager and other global resources that the Delphi IDE is using. How do I find out what BPLs I need to link to?

理想情况下,我想将一些实用程序指向我的DLL或项目,并让它列出每个依赖于我仅使用BPL而没有源的BPL。可用文件。然后,我可以查看该列表并选择要在运行时加载的软件包。项目属性在运行时程序包下给出的当前列表不完整(由于多年来的调整)。

Ideally I'd like to point some utility at my DLL or project and have it list every BPL that it would depend on if I was only using BPL's and had no source files available. Then I could view that list and pick the packages I want to load at runtime. The current list given in the project properties under "Runtime Packages" is incomplete (as it has been tweaked over the years).

推荐答案

检查使用运行时程序包进行构建,使程序包的整个列表保持原样。

Check the "Build with Runtime Packages", leaving the whole list of packages the way it is.

执行一个Project | Build(不编译!)。构建完成后,使用Project | View Information on;

Do a Project|Build (not compile!). After the build completes, use Project|View Information on ; the resulting dialog will give you a list of the actual packages you need to distribute.

在杰里米(Jeremy)启用了使用软件包构建功能的默认软件包列表为空后,他发表了评论,以下是Delphi 2010中该选项对话框中的列表:

After Jeremy's comment about the default list of packages being empty when he enables building with packages, here's the list from that options dialog from Delphi 2010:

   vclx;vcl;vclimg;dbrtl;Rave77VCL;bdertl;rtl;vclactnband;xmlrtl;
   vcldb;vcldbx;vcltouch;dsnap;dsnapcon;TeeUI;TeeDB;Tee;vclib;
   ibxpress;adortl;IndyCore;IndySystem;IndyProtocols;inet;
   intrawebdb_100_140;Intraweb_100_140;VclSmp;vclie;inetdb;
   webdsnap;websnap;inetdbbde;inetdbxpress;soaprtl;vclribbon;
   DbxCommonDriver;DbxClientDriver;DBXInterBaseDriver;DBXMySQLDriver;
   dbexpress;dbxcds;SynEdit_R2009

这篇关于确定要包含的Delphi运行时程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆