Hello, The compiler seems to generate odd hints:
Local absolutevar "FPC_BLOCK_SELF" is not used Here's the code. if Assigned(gc.extendedGamepad) then gc.extendedGamepad.setValueChangedHandler(GamePadChange) else if Assigned(gc.gamepad) then // <-- hint here gc.gamepad.setValueChangedHandler(GamePadChange); gc.setControllerPausedHandler(PauseHandler); // <--hint here Why? PauseHandler and GamePadChange are procedures: procedure GamePadChange(pad: GCGamePad; el: GCControllerElement); procedure PauseHandler(gc: GCController); thanks, Dmitry
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal