jumaris / delphi-detours-library

Automatically exported from code.google.com/p/delphi-detours-library
0 stars 1 forks source link

The InstDecode unit cannot be compiled in versions greater than 2009 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This code assumes which the PShort type is defined in versions greater than 
Delphi 2009.

{{{

{$IF CompilerVersion <20}

type
  PUInt64 = ^UInt64;
  PShort = ^SHORT;
{$IFEND}

}}}

but is not, as workaround the type must be defined always, or just use the 
PSmallInt , because the SHORT type is an alias for  SmallInt.

Original issue reported on code.google.com by Rodrigo.Ruz.V@gmail.com on 21 Apr 2014 at 3:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r15.

Original comment by ismspi...@gmail.com on 21 Apr 2014 at 4:47