Io pensavo che PuntRec fosse come scrivere
(Rettangolo*) puntObj[numObj] e ObjID è dichiarato nella struttura Rettangolo
codice:
typedef struct 
{
    int ObjID;
    int Xs;
    int Ys;
    int Xd;
    int Yd;
    COLORREF bckground ;
    COLORREF fgcolor;
    int LinkID;
}Rettangolo;