Hi,

I am new in open scene graph. I installed open scene graph 2.8.2 with 
thirdParty for VS2008. I wrote a simple code using C++/CLI as in the following:
ref_ptr<Viewer> viewer = new Viewer();
viewer->setUpViewInWindow(100, 100, 640, 480); 
viewer->run();

After debuging it I take the reulting dll into my c# project references. But 
when I run my c# project it gets "Attempted to read or write protected memory. 
This is often an indication that other memory is corrupt." error message on 
viewer->run(); line.
Even if I only write the ref_ptr<Viewer> viewer = new Viewer(); line I take the 
"A first chance exception of type 'System.AccessViolationException' occurred in 
OpenSceneGraphLibrary.dll" Exception ang goes on to ref_ptr code.

If you have any suggestion please share with me I need a quick help.

Thank you!

Cheers,
tufan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22197#22197





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to