<div dir="ltr"><div><div><br>What you need is a managed wrapper for OpenSceneGraph. I am not sure if any such thing exists.<br><br></div>Hint: Microsoft has abandoned their managed wrapper for DirectX for performance reasons.. <br><br></div>Christian<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-01 2:19 GMT+02:00 Diwas Bhattarai <span dir="ltr"><<a href="mailto:osgforum@tevs.eu" target="_blank">osgforum@tevs.eu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<div>Hi,<br>
<br>
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.<br>
<br>
The Problem:<br>
I cannot use <br><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr> <td><span><b>Code:</b><br>
<br>
<br>
</span></td><td><br>
</td></tr><tr><td><br>
</td></tr><tr>
<td><br>
osg::ref_ptr<u></u> osgRodot;<br>
<br>
</td><td><br>
</td></tr></tbody></table><span> in my header file where my ref class is defined. <br>
<br>
</span><br><table align="center" border="0" cellpadding="3" cellspacing="1" width="90%"><tbody><tr> <td><span><b>Quote:</b><br>
<br>
<br>
</span></td><td><br>
</td></tr><tr><td><br>
</td></tr><tr>
<td><br>
IntelliSense: a member of a managed class cannot be of a non-managed class type<br>
<br>
</td><td><br>
</td></tr></tbody></table><span><br>
<br>
But I can use the same code inside any functions of the class. But if I initialize inside the class I cannot use it in another functions. I want to use it in different functions so it's need to be accesible to every functions.<br>
<br>
Anyone already faced this problem and could help me?<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Diwas</span></div>
<br><div>------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=66696#66696" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=66696#66696</a><br>
<br>
</div>
</div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>