gpt4 book ai didi

delphi - 是否可以使用新的/不同版本的 Indy 重新编译 Delphi XE 中的 DataSnap 包?

转载 作者:行者123 更新时间:2023-12-03 14:44:30 25 4
gpt4 key购买 nike

好吧——我们有一个有趣的问题。

一些背景:

  1. 我们的主要应用程序使用 Indy 10。但是,我们采用 Indy 10获取并修复其中的错误,重新编译并安装我们自己的 Indy 套件组件。

  2. 我们正在迁移到 Delphi XE,并希望开始使用 DataSnap。

  3. DataSnap 需要 Indy 的“官方发布”版本,即与我们定制的 Indy 版本不兼容。

  4. 我们的 DataSnap 服务器将是单独的应用程序,但由于我们在 IDE 中安装了我们自己的 Indy,我们无法“跨流”。

好吧,因此,我们无法在外部使用 Delphi XE 的 DataSnap由于此兼容性问题而被框。

所以我的问题是这样的:

是否可以使用新的/不同版本的 Indy 在 Delphi XE 中重新编译 DataSnap 包?

我们非常感激地接受您的想法。

最佳答案

普遍的看法是不,这是不可能的,因为并非所有资源都由 Embarcadero 提供,并且其中一些资源依赖于 Indy 的交付版本。 (这对最终用户来说非常令人沮丧,因为与 Delphi 一起提供的 Indy 版本相对较快地过时,有时当时选择的版本不一定是很好的版本。)

查看相关的SO问题: Is it possible to use Indy 10.5.8.0 in Delphi XE and DataSnap?

另请参阅 Indy 项目页面: 奥 git _a其中指出:

Note: In D/CB/RAD 2009+, DataSnap uses Indy 10 internally. Installing a new version of Indy will render DataSnap unusable, as it will not be able to load the Indy packages anymore. DataSnap is compiled against the Indy packages that ship with the IDE, and DataSnap cannot be recompiled by end users. If you need to use DataSnap, then you will need to maintain the original Indy 10 packages for use in DataSnap projects.

据说下一个版本应该可以让 Indy 更容易更新。

关于delphi - 是否可以使用新的/不同版本的 Indy 重新编译 Delphi XE 中的 DataSnap 包?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6497201/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com