Never mind, I found the cause of the problem. I was declared a variable as 
WNDPROC and the SetWindowLongPtrW returns a LONG_PTR. That was the problem. 
Solved !

Reply via email to