ah you need <windows.h> for the POINT struct. I think I will change that und use an own point struct