Installing LockBox 3 to Delphi 7

女生的网名这么多〃 提交于 2019-12-13 21:17:23

问题


I am trying to install Lockbox 3.5 to Delphi 7. I have come to the point where it should compile, but I am having some trouble with TBytes. Delphi sees TBytes as an Undeclared identifier.

I am a student in my first year and don't know exactly how to fix this problem.

function SelfTest_Key: TBytes; 

This script is found under uTPLb_BlockCipher.

function Stream_to_Base64(ASource: TStream; const ATransform: TBytes = nil) : TBytes; 

This script is found under uTPLb_StreamUtils

I would really appreciate any input.


回答1:


From the project release history:

Version 3.5.0

  • Removed support for all other compilers (other than XE6 and D2010). The return of support for other compilers will be coming soon.
  • ...

From the project website:

With 3.5.0 as the baseline, the 3.6.0 version delivers:

  • Support for all compilers from Delphi 7 and up (although only package heads for D2010 and XE6 written at the moment).
  • ...

The above page contains a link to the download area which says:

LTS - the Long Term Support release

This is the "Long Term Support" (LTS) version. This release is typically used for Enterprise deployments or other users that do not want frequent major upgrades .

The current LTS version is 3.5.0 . The LTS was set to this version on 11-Jul-2014. The LTS can be downloaded from SourceForge here https://tplockbox.googlecode.com/svn/tags/LB%203.5.0.0%2011-Jul-2014.

STABLE - the current stable release

Recommended to users who want a stable high quality product, and timely access to enhancements and defect corrections.

The current STABLE version is 3.6.0 . The STABLE was set to this version on 11-Nov-2014. The STABLE can be downloaded from SourceForge here https://tplockbox.googlecode.com/svn/tags/LB%203.6.0.0%2010-Nov-2014/.

So, it would appear that you need to download version 3.6.0.

Please take time to read the documentation at the pages linked above.



来源:https://stackoverflow.com/questions/27857366/installing-lockbox-3-to-delphi-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!