Can someone please check the MS headers for the RECT definition? In our definition, we use INT, while the MinGW people use LONG. Which one is correct? Ours: typedef struct tagRECT { INT left; INT top; INT right; INT bottom; } RECT, *PRECT, *LPRECT; MinGW: typedef struct tagRECT { LONG left; LONG top; LONG right; LONG bottom; } RECT,*PRECT,*LPRECT; -- Dimi.