View previous topic :: View next topic |
Author |
Message |
Unbr0ken Advanced Cheater
Reputation: 2
Joined: 10 Aug 2011 Posts: 67
|
Posted: Wed Dec 14, 2011 3:35 am Post subject: Error compiling CE 6.1 |
|
|
Hi there, i will post here the errors that will i get while i'm reading and testing the CE 6.2 Alpha source code, i hope you don't get angry/mad by this.
First error:
Quote: | "memscan.pas(656,21) Error: Element zero of an ansi\wide- or longstring can't be accessed, use (set)length instead" |
Piece of code:
Code: | //setting the itemindex automatically creates the next entry
case command[0] of //Error here
'1': groupdata[gdi].vartype:=vtByte;
'2': groupdata[gdi].vartype:=vtWord;
'4': groupdata[gdi].vartype:=vtDWord;
'8': groupdata[gdi].vartype:=vtQWord;
'F': groupdata[gdi].vartype:=vtSingle;
'D': groupdata[gdi].vartype:=vtDouble;
'C': |
I'm not a Delphi/Lazarus coder, so i don't know why this error happens and even i don't know how to fix it. I'm not interested on learn Lazarus or Delphi, i just want to see how works the CE source code to get tips for my own memory scanner. (Btw, thanks Dark Byte, the CE src is amazing... i have learned a lot of it)
I'm using the Lazarus: Daily snapshot, 0.9.31, FPC 2.5.1.
And i have the latest CE 6.2 source code. (I guess)
So... I would appreciate some help; tyvm.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Wed Dec 14, 2011 8:00 am Post subject: |
|
|
svn also support checking out of a earlier date (like the 6.1 release)
anyhow, replace command[0] with command[1]
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Unbr0ken Advanced Cheater
Reputation: 2
Joined: 10 Aug 2011 Posts: 67
|
Posted: Wed Dec 14, 2011 12:05 pm Post subject: |
|
|
Ok thanks for the tip ...
And... it compiles as well with that fix.
|
|
Back to top |
|
 |
|