Home
Reply
Highlighted
Contributor
Posts: 20
0

HOOPS Update problem

Hi,All

 

    My codes are described as follow:

 

void CHoopsMfcView::OnInitialUpdate()
{
CView::OnInitialUpdate();
m_pHSolidView = new HSolidView((HSolidModel*)GetDocument()->m_pHSolidModel,0,"opengl",0, m_hWnd,NULL);
m_pHSolidView->Init();

// m_pHSolidView->Update();

}

 

These codes can work, but when I use "m_pHSolidView->Update();", the routine crashed。 

 

Which resons can lead to the  problem?  

 

By the way, even use HC_Update_Display(), can lead to the same problem.

 

Thanks.