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
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
What sort of errors?
ReplyDeleteAll sorts... Default parameters that Delphi does not accept, $ENDIFs where $IFENDs are expected...
ReplyDeleteAndrea Raimondi From memory, there is a compiler directive to fix the $ENDIF/#$IFEND - http://docwiki.embarcadero.com/RADStudio/XE7/en/Legacy_IFEND_(Delphi)
ReplyDeleteI have reduced it to obedience eventually :)
ReplyDeleteIt's working now :)
Andrea Raimondi What did you have to do?
ReplyDeleteI 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.
ReplyDeleteI am planning to transform that into TEncoding.UTF8 which is supported and should be ok for 99% of the cases.
A
Andrea Raimondi Could be worth submitting those changes back as a patch!
ReplyDeleteI 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).
ReplyDeleteSee my problem? If someone can tag the maintainer - I can ask him.
Kind Regards,
A
Roman Kassebaum I think you're a contributor to this project (?) - can you help with any advice / input at all please?
ReplyDeleteAndrea Raimondi Done, though I hope I have tagged the right person :)
ReplyDeleteJust 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.
I am not sure where I downloaded it from :P lol
ReplyDeleteI just know it works now and don't want to go through the same thing again for a while now :P
A
David Millington
ReplyDeleteIt 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.
Roman Kassebaum I have managed to compile it for Delphi XE :P
ReplyDeleteDo 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 :)
Andrea Raimondi
ReplyDeleteYes, why not. My email address is roman at removethisword kassebaum dot eu
Roman Kassebaum have you seen the email?
ReplyDeleteContains 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
Andrea Raimondi
ReplyDeleteI just sent you a pm.