Good evening, I am working on an old program of mine, but now, getting a compile error,
error;
unit1.pas(948,16) Error: Illegal type conversion: "LongInt" to "<procedure variable type of function(QWord;LongWord;Int64;Int64):Int64;StdCall>"
the way I've used the windows unit function is;
PrevWndProc := Windows.WNDPROC(SetWindowLong(Self.Handle, GWL_WNDPROC, PtrInt(@WndCallback)));
This use to compile, if I go back to a VERY early compiler it does again.
Any ideas?
Kind regards
DavidR