Jump to content
Tuts 4 You

Delphi 2008+ Inline ASM


chessgod101

Recommended Posts

Posted

I have been learning the rip technique for keygenning with Delphi. I have successfully compiled the program with Delphi 7 and it generates correct values. When I compile the same program with the Delphi 2008+ compiler, the keygen generates incorrect values. What parameters have changed with ASM inline in Delphi 2008+? Are there any compiler instructions I need to add to the ASM procedure to correct this problem?

Posted

Maybe debug your keygen to see where it goes wrong.

Posted

Delphi 2008 ?? is that the .net version or do you mean Delphi 2009? if its Delphi 2009 all strings are Unicode so when you declare a type as string it really is declaring it as WideString(unicode) solution would be to declare your strings as "AnsiString" instead of "String"

  • Like 1
Posted (edited)

Thank you Departure. I have been stumped on this issue for some time now. As for the 2008, I meant to say 2009.

Edited by chessgod101

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...