Thu, 01/11/2001 - 13:53
My Code: in "TestCasDoc.h": Handle_V3d_Viewer m_pViewer; Handle_AIS_InteractiveContext m_pAISContext;
in "TestCasDoc.cpp": TCollection_ExtendedString a3DName("Visu3D");
m_pViewer = new V3d_Viewer(theGraphicDevice,a3DName.ToExtString());
m_pAISContext =new AIS_InteractiveContext(m_pViewer);
I am encounted compile error in MFC. The compile error is "error C2661: 'new' : no overloaded function takes 3 parameters" I search in help file to find constructors... but I can't find a reason... Help me please..
Thu, 01/11/2001 - 14:04
at the beginning of your .cpp, you have certainly :
#ifdef DEBUG #define new DEBUG_NEW .... #endif or something like that.
Just remove these lines, and it should work.
Fri, 01/12/2001 - 02:12
^^ Thank you for your respose.. I cleared compile error.. Thanks..