<DIV>Hello,<BR>Do you use multiple render windows ?<BR>If yes, try this for each renWin :</DIV>
<DIV>vtkRendererCollection * rens = renWin-&gt;GetRenderers();<BR>int nb = rens-&gt;GetNumberOfItems();<BR>rens-&gt;InitTraversal();<BR>for ( int i = 0; i &lt; nb; ++i )<BR>{<BR>&nbsp;&nbsp;&nbsp; vtkRenderer * ren = rens-&gt;GetNextItem();<BR>&nbsp;&nbsp;&nbsp; ren-&gt;RemoveAllProps();<BR>}<BR><BR><B><I>Rupert Shute &lt;Rupert.Shute@awe.co.uk&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi,<BR>I'm trying to port an application from Linux to Windows. Under Linux all<BR>is good, no problems. However, under Windows I get the following error when<BR>exiting the application.<BR><BR>Foo.exe - Application Error.<BR>The exception Privileged instruction.<BR>(0x0000096) occurred in the application at location 0x0a122f42.<BR><BR>Removing the call to 'renWin-&gt;Delete();' from the destructor stops the<BR>error. However, this is not a solution to the problem.<BR><BR>I'm using VTK4.4, QT3.3.1, Visual Studio .Net and Windows 2000<BR><BR><BR>Anyone got any ideas?<BR><BR>Regards<BR>Rupert<BR>--<BR>_______________________________________________________________________________<BR><BR>The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use
 of this communication or the information in it is strictly prohibited. Please notify us immediately by email at intadmin@awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected.<BR><BR>_______________________________________________<BR>This is the private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ at: <HTTP: vtkfaq cgi-bin public.kitware.com><BR>Follow this link to subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers</BLOCKQUOTE><BR><BR>Aurélien REGAT-BARREL<p>Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !<br> Créez votre adresse sur http://mail.yahoo.fr