是否可以使用新的/不同版本的Indy在Delphi XE中重新编译DataSnap软件包? [英] Is it possible to recompile the DataSnap packages in Delphi XE with a new/different version of Indy?

查看:196
本文介绍了是否可以使用新的/不同版本的Indy在Delphi XE中重新编译DataSnap软件包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Okay -- we have an interesting problem.

某些背景:


  1. 我们的主要应用程序使用Indy 10.然而,我们采用Indy 10
    源代码并修复错误,重新编译并安装我们自己的Indy
    组件。

  1. Our main application uses Indy 10. However, we take the Indy 10 source and fix bugs in it, recompile, and install our own set of Indy components.

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

We are migrating to Delphi XE and want to start using DataSnap.

DataSnap需要 Indy的运送版本是
与我们的Indy定制版本不兼容。

DataSnap requires the "official, shipping" version of Indy which is incompatible with our customized version of Indy.

我们的DataSnap服务器将是单独的应用程序,但由于我们
在IDE中安装了我们自己的Indy,我们不能跨越流。

Our DataSnap servers will be separate applications, but since we have our own Indy installed in the IDE, we can't "cross the streams".

因此,由于兼容性问题,我们无法使用Delphi XE的DataSnap
框。

Okay, therefore, we are unable to use Delphi XE's DataSnap out of the box because of this compatibility issue.

所以我的问题是这样的:

So my questions is this:

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

Is it possible to recompile the DataSnap packages in Delphi XE with a new/different version of Indy?

ghts感激不尽地接受了。

Your thoughts gratefully accepted.

推荐答案

常见的信念是否,这是不可能的,因为并不是所有的来源都是由Embarcadero提供的,这些来源都依赖于Indy的发行。 (对于最终用户来说,这非常令人沮丧,因为Delphi附带的Indy版本相对较快地过时,有时候当时选择的版本不一定是非常好的。)

The common belief is No, that's not possible due to not all sources being provided by Embarcadero and some of these sources are reliant on the build of Indy as shipped. (Which is extremely frustrating to end users as the version of Indy that ships with Delphi is out of date relatively quickly and sometimes the version selected at the time is not necessarily a very good one.)

查看相关的SO问题:
是否可以在Delphi XE和DataSnap中使用Indy 10.5.8.0?

See related SO question: Is it possible to use Indy 10.5.8.0 in Delphi XE and DataSnap?

还可以看到Indy项目页面:
http://www.indyproject.org/Sockets/文件/ indy10Installation.de.aspx
其中指出:

Also see the Indy project page: http://www.indyproject.org/Sockets/Docs/indy10Installation.de.aspx which states:


注意:在D / CB / RAD 2009+ DataSnap内部使用
Indy 10。安装一个新的
版本的Indy将会使DataSnap
无法使用,因为它将无法
加载Indy包。
DataSnap是针对IDE提供的Indy
包编译的,
DataSnap不能由
用户重新编译。如果您需要使用DataSnap
,那么您将需要维护
原始的Indy 10软件包,用于
DataSnap项目。

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。

It's been said that the next version should hopefully allow for easier updates of Indy.

这篇关于是否可以使用新的/不同版本的Indy在Delphi XE中重新编译DataSnap软件包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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