where can I find a version of LockBox for Delphi-XE
You can make it work. It is not that hard.
- Download from SVN. I'll refer to the base directory as
tplockbox
. - Go to the
tplockbox/trunc/packages
directory. Copy thed2010
directory contents to a new directory namedXE
. - Rename
TP_LockBox_d2010.grouproj
toTP_LockBox_XE.groupproj
- Open it, right click
TP_LockBox3_d2010.bpl
, go to Options, change "LIB suffix" from 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 this globally.
- Build and install
TP_LockBox3_XE.bpl
anddclTP_LockBox3_XE.bpl
packages.
If you want the test cases to work, you'll have to modify the tplockbox/trunc/test/uLockBox_TestCases.pas
file. There are some hard coded checks for an older version of DUnit than the one that comes with Delphi XE. You can just comment out these checks.
There's a Delphi 2010 version available on Songbeamer.com. Based on my experience porting Abbrevia to Delphi XE, it should work as-is. You may want to rename the project files, but that should be about it.
You should try the soureforge.net version, the TurboPower tools were updated by Nick Hodges and many others (IIRC it's even based on the songbeamer.com version):
来源:https://stackoverflow.com/questions/4080825/is-there-a-version-of-lockbox-for-delphi-xe