Delphi中Indy 10的安装和老版本的卸载

Indy 10的安装和老版本的卸载

Indy 10下载地址:

http://www.indyproject.org/downloads/10/indy10.0.52_source.zip

Indy 10 安装步骤
1、解压压缩包。 
2、打开SystemIndySystem70.dpk,点Compile。 
3、打开CoreIndyCore70.dpk,点Compile。 
4、打开ProtocolsIndyProtocols70.dpk,点Compile。 
5、打开SuperCoreIndySuperCore70.dpk,点Compile。//可选 

6、打开CoredclIndyCore70.dpk,点install。 
7、打开ProtocolsdclIndyProtocols70.dpk,点install。 
8、打开SuperCoredclIndySuperCore70.dpk,点install。//可选 

Indy 10 卸载及注意事项

卸载: 

1. Remove the package from Install Packages menu 

从Delphi的IDE中卸载Indy组件包 


2. Delete the *.BPL and *.DCP files of Indy from the installation directoy and from your System folder 

从你的系统目录中删除以Indy开头的所有bpl和dcp文件 


3. Remove any old old Indy files from your library path 

从你的Delphi的Library path中删除所有Indy的路径 

4。安装你的新Indy组件 



安装很顺利(安装前请先卸载Delphi自带的Indy),不过加载项目进行编译的时候报错: 

[Fatal Error] Unit1.pas(11): Unit IdContext was compiled with a different version of IdSocketHandle.TIdSocketHandle 



解决方法也很简单:只要把下列路径(默认安装在C:Program FilesIndy 10 for Delphi 7)加入Delphi的 Library Path即可。 

C:Program FilesIndy 10 for Delphi 7SourceCore 

C:Program FilesIndy 10 for Delphi 7SourceProtocols 

C:Program FilesIndy 10 for Delphi 7SourceSuperCore 

C:Program FilesIndy 10 for Delphi 7SourceSystem

  

Indy下载地址

http://www.indyproject.org/Sockets/Download/Borland.EN.aspx

http://eteda.iteye.com/blog/1144725

原文地址:https://www.cnblogs.com/findumars/p/6307373.html