where can I find a version of LockBox for Delphi-XE
-
1Have you solved your problem? – Leonardo Herrera Feb 09 '11 at 15:37
4 Answers
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.

- 13,094
- 2
- 44
- 64
I believe that the Songbeamer version is not the "official" sourceforge version.
Sean is managing both LockBox 2 and 3 code here: link
Also see this post on his forums.

- 7,332
- 11
- 53
- 99
-
2Sadly, the "official" version of Lockbox 2 hasn't been updated past Delphi 7, and Lockbox 3 is a completely new (GPL) library. They shouldn't be considered the same project. If you have legacy code using Lockbox, the Songbeamer version is your best choice. – Zoë Peterson Nov 02 '10 at 20:57
-
1Lockbox 3 has LGPL licensing NOT GPL - big difference. In December 2010, I will be modifying the licensing to dual LGPL/MPL. In other words the user can choose to use and redistribute in either LGPL or MPL. – Sean B. Durkin Nov 26 '10 at 00:56
-
@Sean: I think it's great that you're developing *an* encryption library for Delphi, but IMO, if it's not compatible with Lockbox 2 you have no business calling it Lockbox 3. The license "change" was only one small aspect of that. If you have to completely rewrite your code to upgrade to a new version it's not the same library and shouldn't be presented as such. – Zoë Peterson Jan 18 '11 at 16:24
-
2I dont agree. There are plent of examples of popular product lines that break API when they move to a new major version. It is fair, valid and proper that LB3 be called that because it provides the same functionality and the administrative control has an unbroken line of descent to that of LB2. LB3 is in LB product line, but it is not the same library as LB2. It has never been presented as the same library. The home page and the about box is very clear about that. – Sean B. Durkin Feb 23 '11 at 04:00
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.

- 8,388
- 5
- 36
- 66
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):

- 14,565
- 6
- 56
- 113
-
3Unlike some of the other TurboPower projects, the SourceForge version of Lockbox never merged the Songbeamer.com changes. Sean Durkin completely re-wrote the library for v3, broke the existing APIs, and changed the license to GPL. – Zoë Peterson Nov 02 '10 at 20:59
-
2See comment above. LGPL not GPL. LB2 uses MPL. LB3 has never "changed" its licensing. LB3 was developed from zero with LGPL. – Sean B. Durkin Nov 26 '10 at 00:58
-