|
[C++ Error] Unit1.cpp(339): E2034 Cannot convert '_Point * *' to 'const tagPOINT *'
에러가 이렇게 발생하는데염..
제 소스...
typedef struct _Point
{
double dx;
double dy;
}SHPPoint;
typedef struct _PolyLine
{
double xmin;
double ymin;
double xmax;
double ymax;
int NumParts;
int NumPoints;
int *Parts;
SHPPoint *Points;
}SHPPolyLine;
SHPPolyLine *m_pon;
m_pon = new SHPPolyLine[m_nRecordCnt];
Polyline(m_hMemDC, m_pon->Points, nNumPoints);
에서염 m_pon->Points이 틀린것 같은데염..
POINT p[8];
Polyline(hDC, p, 4);
이렇게는 되는데.....
|