Examples do not compile in Delphi2009
Posted: Sun Oct 18, 2009 8:46 pm
Hello,
I am a registered user of Enigma Protector.
I could already protect all my software with it, without changing a line in my source.
This works fine for Delphi2006
as well as Delphi 2009 programs.
But now I want to create Licenses for programs compiled in Delphi2009
There are many compilation problems with some Delphi examples.
I am using Version 1.79.
If I use example keygen in Delphi 2006 everything is ok. It does not compile in Delphi 2009. So I change all strings to ansistring and all char to ansichar.
It then compiles with many warnings.
[DCC Warnung] main.pas(349): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(430): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(645): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(645): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(648): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(648): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(654): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(654): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(682): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(718): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(718): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(721): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(721): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(727): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(727): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(755): W1057 Implicit string cast from 'AnsiString' to 'string'
And it does not work as expected. If I enter an user name and press the "Generate" Button I get
EP_ERROR_PRIVATEKEYISINVALID.
So when will you translate your examples to Delphi2009, that they can be used out of the box?
Sincerely
Peter
I am a registered user of Enigma Protector.
I could already protect all my software with it, without changing a line in my source.
This works fine for Delphi2006
as well as Delphi 2009 programs.
But now I want to create Licenses for programs compiled in Delphi2009
There are many compilation problems with some Delphi examples.
If I use example keygen in Delphi 2006 everything is ok. It does not compile in Delphi 2009. So I change all strings to ansistring and all char to ansichar.
It then compiles with many warnings.
[DCC Warnung] main.pas(349): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(430): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(645): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(645): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(648): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(648): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(654): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(654): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(682): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(718): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(718): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(721): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(721): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(727): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warnung] main.pas(727): W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
[DCC Warnung] main.pas(755): W1057 Implicit string cast from 'AnsiString' to 'string'
And it does not work as expected. If I enter an user name and press the "Generate" Button I get
EP_ERROR_PRIVATEKEYISINVALID.
So when will you translate your examples to Delphi2009, that they can be used out of the box?
Sincerely
Peter