One more try, could somebody help:
I want to use MapPoint Control in my VC++ FormView based application. In the CFormView object there is the following code
void CMapPointTest1View::OnInitialUpdate()
{
..................
VARIANT var;
var.vt = VT_INT;
var.intVal = 1;
CMap1 map = m_MapPoint.NewMap(var);
}
m_MapPoint is the CMappointCtrl object to which I connected the MapPoint control element (CMappointCtrl object).
A map appears. But once I click in it, MapPoint collapses. There must be a solution.
Thanks! Jörg