AcGePoint3dArray problem.

AcGePoint3dArray problem.

Anonymous
Not applicable
354 Views
1 Reply
Message 1 of 2

AcGePoint3dArray problem.

Anonymous
Not applicable
I have an AcGePoint3dArray object declared as a member of my class. In my OnPaint(), I check the size of the array and if > 0 I proceed to draw to a window markers at the points specified. At this time I have no items in this array, but for some reason the logical length is many?

[code]
if(!m_ptsMarkers.isEmpty())
{
CPen pen(PS_SOLID, 1, RGB(0,255,0));
CPen* pTemp = dc.SelectObject(&pen);
for(int i = 0; i < m_ptsMarkers.length(); i++)
DrawMarker(m_ptsMarkers.at(i), &dc);
dc.SelectObject(pTemp);
}
[/code]
In debug, I placed a breakpoint at the first line of code above and the values for the m_ptsMarkers is as follows:
[quote]
{mpArray = 0X00000000, mPhisicalLength = 116513308, mLogicalLength = 1...}
[/quote]
This does not make sence to me. Any ideas?

Mike B
0 Likes
355 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Well it appears that I had to just rebuild the solution.

Mike B
0 Likes