Double declaration in LCLTYPE cause error in compile win32callback.ini (i don't remember which unit - best practice is retype name of main unit in top and bottom of include file)
I try change declaration to:
type
{$IFNDEF win32}<-----
PNMHdr = ^TNMHdr;
tagNMHDR = packed record
hwndFrom: HWND;
idFrom: UINT;
code: UINT;
end;
TNMHdr = tagNMHDR;
NMHDR = tagNMHDR;
{$ELSE} <---
PNMHdr = windows.PNMHDR; <---
TNMHdr = windows.TNMHDR; <----
{$ENDIF} <----Darek
