Hi.
I don't test (I use last sdl.dll and I have more functions and my test program not work) but I think it not work because you can no add "_" at begin of function names:
My SDL:
Code:
function SDL_Init(flags: UInt32): SInt32 cdecl; external SDL_LibName {$IFDEF MACOS} name '_SDL_Init' {$ENDIF};
Your SDL:
Code:
function SDL_Init(flags: UInt32): SInt32 cdecl; external SDL_LibName {$IFDEF DELPHI} {$IFDEF MACOS} name 'SDL_Init' {$ENDIF} {$ENDIF};
In name '_SDL_Init' you put name 'SDL_Init' without "_"
Kotai.
Bookmarks