<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
        background-color: #E5E5E5;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11;
        color: #000000;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
p, td           { font-size : 11; color : #000000; }
a:link,a:active,a:visited { color : #006699; }
a:hover         { text-decoration: underline; color : #DD6900; }
hr      { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
h1,h2           { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}


/* This is the border line & background colour round the entire page */
.bodyline       { background-color: #FFFFFF; border: 1px #98AAB1 solid; }


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; line-height: 12px}
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover     { color: #DD6900; text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink              { font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink     { text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link { text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
        font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
        font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

-->
</style>
</head>
        <body>

        <div class="postbody">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 </span><table class="bodyline" width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>            <td class="helpline"><span class="genmed"><b>Code:</b><br /> <script type="text/javascript" src="./templates/select_expand_bbcodes.js"></script><br /> <script type="text/javascript"><br /> <br /> <!--<br /> <br />         var id = 'SXBB' + (1000 + Math.floor(Math.random() * 5000));<br />         SXBB[id] = new _SXBB(id);<br />         SXBB[id].T['select'] = 'Select';<br />         SXBB[id].T['expand'] = 'Expand';<br />         SXBB[id].T['contract'] = 'Contract';<br />         SXBB[id].writeCmd();<br /> <br /> //--><br /> <br /> </script><br />                 </span></td><br />         </tr><br />         <tr><br />           <td class="code"><br /> <script type="text/javascript"><br /> <br /> <!--<br /> <br />         SXBB[id].writeDiv();<br /> <br /> //--><br /> <br /> </script>osg::ref_ptr<osg::Group> osgRodot;<br /> <script type="text/javascript"><br /> <br /> <!--<br /> <br />         document.write('</div>');<br /> <br /> //--><br /> <br /> </script><br />                 </td><br />         </tr></table><span class="postbody"> in my header file where my ref class is defined. <br />
<br />
</span><table class="bodyline" width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>                 <td class="helpline"><span class="genmed"><b>Quote:</b><br /> <script type="text/javascript" src="./templates/select_expand_bbcodes.js"></script><br /> <script type="text/javascript"><br /> <br /> <!--<br /> <br />         var id = 'SXBB' + (1000 + Math.floor(Math.random() * 5000));<br />         SXBB[id] = new _SXBB(id);<br />         SXBB[id].T['select'] = 'Select';<br />         SXBB[id].T['expand'] = 'Expand';<br />         SXBB[id].T['contract'] = 'Contract';<br />         SXBB[id].writeCmd();<br /> <br /> //--><br /> <br /> </script><br />                 </span></td><br />         </tr><br />         <tr><br />           <td class="quote"><br /> <script type="text/javascript"><br /> <br /> <!--<br /> <br />         SXBB[id].writeDiv();<br /> <br /> //--><br /> <br /> </script>IntelliSense: a member of a managed class cannot be of a non-managed class type<br /> <script type="text/javascript"><br /> <br /> <!--<br /> <br />         document.write('</div>');<br /> <br /> //--><br /> <br /> </script><br />                 </td><br />         </tr></table><span class="postbody"><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</div>
        <br /><div class="gensmall">------------------<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>
        </body>
</html>