Problems encountered during installation:
1, replace the old version of source with the new Indy Indy
2, compiled in accordance with reference materials. DPK version to keep consistent with the old version, such as My is XXX100.DPK
3, the compilation and installation paths are uniformly placed under the bin of the Delphi installation directory
4, in the tool's library path to join Xxxdelphi 7\source\core
XXX Delphi 7\source\protocols
XXX Delphi 7\source\supercore
XXX Delphi 7\source\system
Resources:
Http://www.cnblogs.com/tc310/p/5087907.html
Http://www.cnblogs.com/railgunman/archive/2010/08/31/1814112.html
Installation of Indy 10 and uninstall of old version
Indy 10:
Http://www.indyproject.org/downloads/10/indy10.0.52_source.zip
Indy 10 Installation Step 1, unzip the compression package.
2, open \system\indysystem70.dpk, point compile.
3, open \core\indycore70.dpk, point compile.
4, open \protocols\indyprotocols70.dpk, point compile.
5, open \SUPERCORE\INDYSUPERCORE70.DPK, point compile. Options available
6, open \CORE\DCLINDYCORE70.DPK, click Install.
7, open \PROTOCOLS\DCLINDYPROTOCOLS70.DPK, click Install.
8, open \SUPERCORE\DCLINDYSUPERCORE70.DPK, click Install. Options available
Indy 10 unloading and precautions
Unloading:
1. Remove the package from the Install Packages menu
Uninstalling the Indy component package from the IDE of Delphi
2. Delete the *. BPL and *. DCP files of Indy from the installation Directoy and from your System folder
Remove all BPL and DCP files starting with Indy from your system directory
3. Remove any old Indy files from your library path
Remove all Indy paths from your Delphi library path
4. Install your new Indy component
Installation is smooth (please uninstall the Delphi Indy before installation), but when loading the project to compile the error:
[Fatal Error] Unit1.pas (one): Unit Idcontext was compiled with a different version of Idsockethandle.tidsockethandle
The workaround is simple: simply add the following path (installed by default on C:\Program Files\indy for Delphi 7) to Delphi's Library path.
C:\Program Files\indy for Delphi 7\source\core
C:\Program Files\indy for Delphi 7\source\protocols
C:\Program Files\indy for Delphi 7\source\supercore
C:\Program Files\indy for Delphi 7\source\system
Attached Indy
Http://www.indyproject.org/Sockets/Download/Borland.EN.aspx
Installation of Indy 10 in Delphi and uninstallation of old version