Thank you for all those answers. When I look at LRESULT , it's defined in base.inc :
Line 193 : LRESULT = LONG_PTR;
LONG_PTR define in base,inc :
Line 89: LONG_PTR = PtrInt;
PtrInt is define in systemh.inc:
Line 338 PtrInt = Int64;
At the end, LRESULT should be an int64, not Int64 of object... I have a hard time understanding what I am doing wrong:( someone can tell me how I can modify this function so it will work?
Thank you