Hi all,<br /><br />
don't forget to free memory if you allocate memory from the unmanaged memory<br />
<pre>System.IntPtr p = Marshal.AllocHGlobal(s);
...
...
// Frees memory previously allocated from the unmanaged memory
Marshal.FreeGlobalH(p)</pre><br /><br />
with kind regards<br />
Jochen
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/IntPtr-for-ActiViz-Net-tp4759068p5714173.html">Re: IntPtr for ActiViz.Net</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>