this code was working in BCB3:
points = Point(Source_x - Left , Source_y - Top + SourceWidth);
points = Point(Dest_x - Left, Dest_y - Top);
points = Point(Source_x - Left , Source_y - Top - SourceWidth);
But with BCB4, i get:
Cannot convert 'tagPOINT *' tp 'const TPoint *'
Type mismatch in parameter 'Points' in call to '_fastcall
TCanvas::Polygon(const TPoint *, const int);
Searched about the new TPoint type, but the example provided with the
polygon definition is outdated.
Anybody could explain how to set up a new array of points using the TPoint *
thanks a lot,