Hi, if you post your project I can take a look.
-Nick On Wed, Apr 28, 2010 at 5:17 PM, Sanat Talmaki <[email protected]>wrote: > Hi Nick, > > I have been trying to get the sample running but had a couple of > difficulties along the way. Solved most of them but now am getting a > run-time error. > (I'm using a Win32 Console application project to test the MFCViewer > sample) > > In the OSG_MFCMDI.cpp file; > > the lines > // create main MDI Frame window > CMainFrame* pMainFrame = new CMainFrame; > if (!pMainFrame || !pMainFrame->LoadFrame(IDR_MAINFRAME)) > { > delete pMainFrame; > return FALSE; > } > m_pMainWnd = pMainFrame; > > give the error > A first chance exception of type 'System.AccessViolationException' occurred > in osg_trial_project.exe > An unhandled exception of type 'System.AccessViolationException' occurred > in osg_trial_project.exe > > I am not sure how to debug this because I believe this is one of the first > calls that happens in the stake frame. > > Did you come across such an error or have a hint why this is happening. > ... > > Thanks > > Cheers, > Sanat > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=27384#27384 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

