You can make it work. It is not that difficult.
- Download from SVN. I will refer to the base directory as
tplockbox . - Go to the
tplockbox/trunc/packages directory. Copy the contents of the d2010 directory to a new directory named XE . - Rename
TP_LockBox_d2010.grouproj to TP_LockBox_XE.groupproj - Open it, right-click
TP_LockBox3_d2010.bpl , go to "Options", change the "LIB Suffix" in the "Description" section to _XE . - Do the same for the
dclTP_LockBox3_d2010.bpl project - Adjust output paths and directories for all projects. I don’t remember if I just went ahead and changed it globally.
- Create and install the
TP_LockBox3_XE.bpl and dclTP_LockBox3_XE.bpl .
If you want the test cases to work, you will have to change the file tplockbox/trunc/test/uLockBox_TestCases.pas . There are several hard-coded checks for an older version of DUnit than Delphi XE. You can just comment on these checks.
Leonardo Herrera
source share