Quote Originally Posted by chronozphere
Sorry but i dont know how i must declare it. :?
I do not recieve the input using messages. i use Directinput. so i dont know what those methods must do.

Just "Result := 0;" isn't enough to fix the problem. Something else must be done.
The princip is same, just put them into a delphi-special-wm-handling-functions message function into the form object in the unit.