Hi, On OsX rect and point have a different layout.
Is there somewhere in the fpc rtl a rect and point type that conforms to this ? Would you consider adapting the definition of Types.TRect ? This is actually an old request: http://lists.freepascal.org/lists/fpc-devel/2006-April/007515.html Qt4 header extracts that shows platform dependant layout: qrect.h: #if defined(Q_OS_MAC) int y1; int x1; int y2; int x2; #else int x1; int y1; int x2; int y2; #endif qpoint.h #if defined(Q_OS_MAC) int yp; int xp; #else int xp; int yp; #endif regards, Den Jean _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel