开发者

Is there a version of LockBox for Delphi-XE

where can I find a version of LockBox for Delphi-XE开发者_Python百科


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 can make it work. It is not that hard.

  1. Download from SVN. I'll refer to the base directory as tplockbox.
  2. Go to the tplockbox/trunc/packages directory. Copy the d2010 directory contents to a new directory named XE.
  3. Rename TP_LockBox_d2010.grouproj to TP_LockBox_XE.groupproj
  4. Open it, right click TP_LockBox3_d2010.bpl, go to Options, change "LIB suffix" from the Description section to _XE.
  5. Do the same for the dclTP_LockBox3_d2010.bpl project
  6. Adjust output paths and directories for all projects. I don't remember if I just went ahead and changed this globally.
  7. Build and install TP_LockBox3_XE.bpl and dclTP_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.


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.


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):

http://sourceforge.net/projects/tplockbox/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜