简体   繁体   English

如何重建Delphi XE2随附的Indy 10?

[英]How to rebuild Indy 10 which comes with Delphi XE2?

In Delphi XE2 I'm using Indy 10. I made a small change to one of the units IdHTTPWebBrokerBridge and to take effect, I need to re-build indy. 在Delphi XE2中,我使用的是IdHTTPWebBrokerBridge 。我对IdHTTPWebBrokerBridge单元之一进行了小幅更改,并且要生效,我需要重新构建indy。 I can't find this in any search, I keep getting results for installing it from scratch - but nothing about re-building what comes with Delphi. 我在任何搜索中都找不到这个,我一直从头获得安装的结果-但是与重新构建Delphi附带的内容无关。

How do I re-build Indy 10? 如何重新构建Indy 10?

IdHTTPWebBrokerBridge.pas is included in the Indy release, but it is not actually used by Indy itself. Indy发行版中包含IdHTTPWebBrokerBridge.pas ,但Indy本身并未实际使用它。 It is used internally by Embarcadero when using Indy inside of DataSnap, and thus is not compiled into Indy itself in any way. 在DataSnap内部使用Indy时,它由Embarcadero内部使用,因此不会以任何方式编译为Indy本身。 So there is no need to recompile Indy itself (unless you want to upgrade it, but be sure to take note of the warnings in the install instructions ). 因此,无需重新编译Indy本身(除非您要对其进行升级,但是请务必注意安装说明中的警告)。 You can submit a bug fix to Indy's developers so it is included in future releases, but that will not address your problem in XE2 since DataSnap cannot be recompiled. 您可以将错误修复程序提交给Indy的开发人员,以便将其包含在将来的发行版中,但这将无法解决XE2中的问题,因为无法重新编译DataSnap。 But if you are using static linking in your project, you could try simply adding the modified IdHTTPWebBrokerBridge.pas file directly into your app. 但是,如果您在项目中使用静态链接,则可以尝试将修改后的IdHTTPWebBrokerBridge.pas文件直接添加到应用程序中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM