Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Polygon Winders'

Status
Not open for further replies.

XerxesTheMighty

Programmer
Joined
Jun 15, 2003
Messages
72
Location
US
HRGN hrgn;
hrgn = CreatePolygonRgn(lppt,sizeof(lppt),ALTERNATE);

How would initialize lppt (CONST POINT *lppt;)
when I do lppt.x and .y it gives me an error:
left of '.x' must have class/struct/union type.
 
POINT pt[100];
POINT* lppt = &pt;
or
POINT* lppt;
lppt = new POINT[100];
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top