Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Initialization of the graphic library.

Initialization of the graphic library.
Vladimir Karpov 2013/02/04 11:36
I have a catch in this situation:

int C3DWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
     if (CWnd::OnCreate(lpCreateStruct) == -1)
          return -1;
     
     // TODO: Add your specialized creation code here
     // Creating View
     try
     {
          m_pGraphicDevice = new Graphic3d_WNTGraphicDevice();
     }
     catch(Standard_Failure)
     {
          AfxMessageBox("Fatal Error During Graphic Initialisation");
     };

Have you any idea to help me?
Dmitry Kidyaev 2013/02/18 00:07
May be try to look Snadard_Failure object content?
 
 
Latest news
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map