I would like to draw images for a game
I tried the old graphix library but it doesnt compile:
it doesnt like this line:
FUNCTION DDSetMouseCallback(cb:pointer);
because the return type of the function isnt specified
so I put boolean as the return type but then:
wc.lpfnWndProc:=@WindowProc;
it doesnt like this line
C:\Users\admin\Downloads\gxfp400\gxdd.pp(359,19) Error: Incompatible types: got "<address of function(LongWord,LongWord,LongWord,LongInt):LongInt;StdCall>" expected "<procedure variable type of function(LongWord,LongWord,LongInt,LongInt):LongInt;StdCall>"