returning and passing CArrays
CArray<CPoint , CPoint > arrayTemp;
rgn.CreatePolygonRgn(arrayTemp, count, ALTERNATE);
when i call CreatePolygonRgn with arrayTemp i get the following
error C2664: 'CreatePolygonRgn' : cannot convert parameter 1 from 'class CArray<class CPoint,class CPoint>' to 'struct tagPOINT *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
how should i pass my arrary to this functions??????
Similarly whenever i try to return CArrays i get cannot return errors as their are no members defined to copy and return the whole array??? that means i cant return CArrays?