Delphi 项目需要运行时包,即使运行时包已关闭

发布于 2024-07-06 03:52:39 字数 234 浏览 5 评论 0原文

如果我的路径中没有一些运行时包,我的 Delphi7 项目将无法在我的客户端计算机上运行。 例如rtl70.bpl

我没有勾选使用运行时包构建,所以它们不应该被编译到exe中吗?

编辑:该项目使用 Jedi Packages(TJvPlugin)并且在不安装任何插件的情况下运行该程序可以正常工作。 一旦我添加插件,bpl not find 错误就会再次出现。 看来我不得不忍受额外的包裹了。

My Delphi7 project will not run on my clients computer if i don't have a few of the runtime packages in the path. eg rtl70.bpl

I haveBuild with runtime packages unticked, so shouldn't they be complied into the exe?

Edit: the Project uses Jedi Packages (TJvPlugin) and running the program with out any plugin installed works fine. As Soon as i add a Plugin, the bpl not found errors reappear. Seems like ill have to live with the extra packages.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

洒一地阳光 2024-07-13 03:52:39

人们可能会发现这一点很明显,但是在编译后检查可执行文件的大小,如果它更大,它就会运行。 当我们手动复制更新时,较小的 dll 是一个很大的危险信号,表明项目选项有问题。

One may find this obvious, but check the size of the executable once you've compiled, if it's larger, it'll run. When we manually copy in our updates a smaller dll is a big red flag that something is wrong with the project options.

岁月静好 2024-07-13 03:52:39

您还需要取消选中“项目选项”的“链接器”选项卡上的“使用动态 RTL”。

警告:我正在使用 C++Builder,但我相信选项是相同的。

You also need to uncheck the "Use Dynamic RTL" on the Linker tab of the Project Options.

Caveat: I'm using C++Builder, but I believe the options are the same.

软糯酥胸 2024-07-13 03:52:39

您的项目可能使用使用 Delphi 包构建的 DLL 或 COM 对象。

Your project may use DLLs or COM objects that have been built with Delphi packages.

如梦初醒的夏天 2024-07-13 03:52:39

凭记忆:
1. 使用运行时包检查构建
2.从列表中删除所有运行时包
3.完整构建
4.取消选中使用运行时包构建
5.完整构建。

无法测试,没有D7了...

From memory:
1. check the build with runtime packages
2. Remove all the run time packages from the list
3. Full build
4. Uncheck the build with run time packages
5. Full build.

Can't test, don't have D7 anymore...

情深如许 2024-07-13 03:52:39

已经有一段时间了,但似乎有些东西您需要(1)使用运行时包检查构建,然后启用其他编辑器(可能是要使用的包列表),然后您(2)进行更改那里。 (3) 然后进行完整构建,然后 (4) 删除运行时包检查并进行另一次 (5) 完整构建。 每次进行完整构建非常重要。

It has been a while, but it seems like there was something where you needed to (1) check build with runtime packages, and then that enables some other editor (maybe list of packages to use), and you (2) make a change there. (3) Then do a full build, and then (4) remove the runtime packages check and do another (5) full build. It is important to do a full build each time.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文