Hi!

Hi!

Just downloaded LockBox 3 for my Delphi XE - but getting loads of errors on the build.

What happened? The last time I did it was alright (I had to change pc, so this is my first install on the new machine).

Anybody's got working sources for it?

Thanks!

A

Comments

  1. All sorts... Default parameters that Delphi does not accept, $ENDIFs where $IFENDs are expected...

    ReplyDelete
  2. Andrea Raimondi From memory, there is a compiler directive to fix the $ENDIF/#$IFEND - http://docwiki.embarcadero.com/RADStudio/XE7/en/Legacy_IFEND_(Delphi)

    ReplyDelete
  3. I have reduced it to obedience eventually :)
    It's working now :)

    ReplyDelete
  4. Andrea Raimondi What did you have to do?

    ReplyDelete
  5. I turned all of the $ENDIFs in $IFENDs, had to remove a default parameter Delphi XE wasn't happy about and transform TEncoding.ANSI into TEncoding.ASCII because Delphi XE doesn't have the ANSI encoding. The only thing I am not happy about is the last one, which is probably not very friendly to Unicode.

    I am planning to transform that into TEncoding.UTF8 which is supported and should be ok for 99% of the cases.

    A

    ReplyDelete
  6. Andrea Raimondi Could be worth submitting those changes back as a patch!

    ReplyDelete
  7. I am not sure... the problem is I am not sure they're "right", i.e. is it a problem only on Delphi XE? And how would another, later Delphi edition cope with them? Someone mentioned there's a compiler directive: what if the problem was Delphi XE doesn't support it? It's not easy to say what exactly the problem was... this is why I am hesitant to send the changed Zip (I have no easy way to create a patch).

    See my problem? If someone can tag the maintainer - I can ask him.

    Kind Regards,

    A

    ReplyDelete
  8. Roman Kassebaum I think you're a contributor to this project (?) - can you help with any advice / input at all please?

    ReplyDelete
  9. Andrea Raimondi Done, though I hope I have tagged the right person :)

    Just to check, you do have the latest version from http://sourceforge.net/p/tplockbox/ ? Looks like there have been lots of changes for XE2-6 since then, so maybe compatibility was broken.

    ReplyDelete
  10. I am not sure where I downloaded it from :P lol

    I just know it works now and don't want to go through the same thing again for a while now :P

    A

    ReplyDelete
  11. David Millington
    It depends. For XE7 I only used LockBox2. Some months ago I moved LockBox3 to XE6 and yes it is not compatible to older Delphi versions.

    ReplyDelete
  12. Roman Kassebaum  I have managed to compile it for Delphi XE :P
    Do you want the modified zip? Maybe we could have it in a branch for poor people like me who don't have the latest and greatest :)

    ReplyDelete
  13. Andrea Raimondi
    Yes, why not. My email address is roman at removethisword kassebaum dot eu

    ReplyDelete
  14. Roman Kassebaum  have you seen the email?
    Contains both packages with a list of modifcations.

    Can you please make sure I didn't weaken it by mistake?
    It's very easy to do the wrong thing in encryption code.

    A

    ReplyDelete

Post a Comment