是否可以在 Delphi XE 和 DataSnap 中使用 Indy 10.5.8.0? [英] Is it possible to use Indy 10.5.8.0 in Delphi XE and DataSnap?
问题描述
案例
我正在尝试将 INDY 更新到我的 Delphi XE 的最新版本(更新 1),所以我从 indy.fulgan.com/ZIP.
I'm trying to update the INDY to the latest version for my Delphi XE (Update 1), so I downloaded the latest INDY10 file (Indy_4545.zip) from indy.fulgan.com/ZIP.
软件包编译成功,现在我什至可以在关于对话框的对话框中看到新版本 10.5.8.0,但在 IDE 重新启动后,我收到一条消息:
The packages compiles successfully and I can now even see the new version 10.5.8.0 on the about box dialog, but after a IDE restart I got a message saying:
没有 se encuentra el punto de entrada del procedimiento @Idhttp@TIdCustomHTTP@GetRequestHeaders$qqrv en la biblioteca de vínculos IndyProtocols150.bpl.
No se encuentra el punto de entrada del procedimiento @Idhttp@TIdCustomHTTP@GetRequestHeaders$qqrv en la biblioteca de vínculos dinámicos IndyProtocols150.bpl.
我的免费英文翻译:
在动态链接库 IndyProtocols150.bpl 上找不到过程@Idhttp@TIdCustomHTTP@GetRequestHeaders$qqrv 的入口点.
Entry point not found for procedure @Idhttp@TIdCustomHTTP@GetRequestHeaders$qqrv not found on the dynamic link library IndyProtocols150.bpl.
在快速比较新旧IdHTTP.pas后,我发现TIdCustomHttp类有很多变化,包括一些方法的重命名
After a quick comparision of old and new IdHTTP.pas I found a lot of changes on the TIdCustomHttp class, including the rename of some methods
- GetResponseHeaders 到 GetResponse
- GetRequestHeaders 到 GetRequest
- SetRequestHeaders 到 SetRequest
随着此接口和其他接口以及类接口中公共/发布方法公司的更改.
Along with changed public/published method firms in this and other and classes interfaces.
更新后,我发现很多包加载失败,包括dclcxPivotGridOLAPD15.bpl,这又依赖于dclDataSnapServer150.bpl,它遇到了bpl上的缺失方法.
After the update, I got a lot of packages failing to load, including dclcxPivotGridOLAPD15.bpl, which in turns depends on dclDataSnapServer150.bpl which encounters the missing method on the bpl.
AFAIK 我无法重新编译 dclDataSnapServer150.bpl(也许还有其他失败的包,我只是停在这里).
AFAIK I can't recompile the dclDataSnapServer150.bpl (and maybe other failing packages, I just stopped here).
IDE 上的 DataSnap 和 DevExpress 支持是我每天必须的,所以
DataSnap and DevExpress support on the IDE is a must for my day to day so
问题
- 是否有预先建立的安全路径来更新到 Delphi XE 的最新 INDY?
- 如果没有,我是否只是通过创建旧的公共方法来烘烤源代码并在实现部分调用新方法来安全?
- 我是否遗漏了其他东西,或者我真的坚持使用 INDY 10.5.7 直到下一个 Delphi 次要/主要版本发布?
推荐答案
来自其他人的回答,主要是 Remy 的评论:
From other's answers and mainly Remy's comments:
在不破坏 Delphi XE Update 1 中的 DataSnap 的情况下安装 Indy 10.5.8.0 是不可能的.
It is not possible to install Indy 10.5.8.0 without breaking DataSnap in Delphi XE Update 1.
这篇关于是否可以在 Delphi XE 和 DataSnap 中使用 Indy 10.5.8.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!