I did this very recently, I've done it before with 2007 and had lots of problems, but this time in D2010 it went really well...
Assumptions:
- The Indy BPL's are stored in the bin
folder
- DCP and DCU are stored in the
libindy10 folder
- Source code is sourceindyindy10
(then you have core/protocol/system
subfolders)
Directions:
So, I took the BPL/DCP/DCU files and saved them somewhere safe (just in case)
I renamed the core/protocol/system folders to core.old/protocol.old/system.old
I then copied the core/protocol/system folders from the indytiburon.zip into sourceindyindy10 folder
Now, the packages have to be built in the following order:
System - Core - Protocol - dclCore - dclProtocol
For Delphi 2009, open the packages whose names end in 130; for Delphi 2010, 140.
I opened each package, then in the options I pasted the full path to libIndy10 into the DCP and Unit output directory fields, and the full path to bin into the package output directory field.
Then I built
the packages. For the dcl packages I also installed
.
Certainly for 2010 it went without a hitch!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…