Re: [osg-users] Smart Pointer for Memory Management

2016-03-31 Thread Chris Hanson
I ended up making the OSG-using core of my OSG/C# application in C++, with a thin C wrapper around the functionality that needed to be accessed from the actual application-space. That C library was then easy to invoke from the C# UI and application without nasty ownership and management issues

Re: [osg-users] Smart Pointer for Memory Management

2016-03-31 Thread Christian Buchner
Using google search I came across this thread where the poster got an osg Viewer working in a .NET forms application http://forum.openscenegraph.org/viewtopic.php?t=10132=previous Maybe you can get more information and help from the people who posted in this thread. About your specific problem

Re: [osg-users] Smart Pointer for Memory Management

2016-03-31 Thread Christian Buchner
What you need is a managed wrapper for OpenSceneGraph. I am not sure if any such thing exists. Hint: Microsoft has abandoned their managed wrapper for DirectX for performance reasons.. Christian 2016-04-01 2:19 GMT+02:00 Diwas Bhattarai : > Hi, > > I want to use

[osg-users] Smart Pointer for Memory Management

2016-03-31 Thread Diwas Bhattarai
Hi, I want to use Openscenegraph on my Window Form Application. In the moment I am writing a Wrapper in CLR application and exporting as a dll and importing it in my Window Form Application. The Problem: I cannot use Code: osg::ref_ptr osgRodot; in my header file where my ref class is