Hi.

I'm installed DelphiXE2 and SDL-JEDI but when I compile my games have a SDL.pas error :

Code:
[DCC Error] sdl.pas(358): E2029 Identifier expected but 'CONST' found
I solved my problem by adding the following to the jedi-sdl.inc file:

Code:
{$IFDEF ver230}
  {$DEFINE Delphi}   {Delphi XE2}
  {$DEFINE Delphi32}
  {$DEFINE Delphi4UP}
  {$DEFINE Delphi5UP}
  {$DEFINE Delphi6UP}
  {$DEFINE Delphi7UP}
  {$DEFINE Delphi8UP}
  {$DEFINE Delphi9UP}
  {$DEFINE Delphi10UP}
  {$DEFINE Delphi11UP}
  {$DEFINE Delphi12UP}
  {$DEFINE Delphi14UP}
  {$DEFINE Delphi15UP}
  {$DEFINE Delphi16UP}
  {$WARN UNSAFE_TYPE OFF} {Disable warning for unsafe types in Delphi 7}
  {$DEFINE Has_Int64}
  {$DEFINE HAS_TYPES}
{$ENDIF ver210}
Now game compile but no load BMP, PNG or WAV files:

Code:
Graphic := SDL_LoadBMP( PChar( sFile ) );
Code:
Graphic:= IMG_Load( PChar( sFile ) );
Code:
Sound := Mix_LoadWAV( PChar( sFile ) );
Allways return NIL. No error, but no load. Same code in Delphi2006 work OK.

What's going on here?

Thanks