void CLine::Draw(CDC *pDC)
{
pDC->MoveTo(m_ptFrom);
pDC->LineTo(m_ptTo);
}
'void CLine::Draw(CDC *)' : overloaded member function not found in 'CLine'
Look at the prototype of that Draw() function in the header file -- it is either missing or contains a different set of parameters.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.