http://www.cnblogs.com/railgunman/archive/2010/08/31/1814112.html

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

Indy 10下载地址:

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

Indy 10 安装步骤
1、解压压缩包。 
2、打开\System\IndySystem70.dpk,点Compile。 
3、打开\Core\IndyCore70.dpk,点Compile。 
4、打开\Protocols\IndyProtocols70.dpk,点Compile。 
5、打开\SuperCore\IndySuperCore70.dpk,点Compile。//可选

6、打开\Core\dclIndyCore70.dpk,点install。 
7、打开\Protocols\dclIndyProtocols70.dpk,点install。 
8、打开\SuperCore\dclIndySuperCore70.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 Files\Indy 10 for Delphi 7)加入Delphi的 Library Path即可。

C:\Program Files\Indy 10 for Delphi 7\Source\Core

C:\Program Files\Indy 10 for Delphi 7\Source\Protocols

C:\Program Files\Indy 10 for Delphi 7\Source\SuperCore

C:\Program Files\Indy 10 for Delphi 7\Source\System

Indy下载地址

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

05-11 11:24