[vtkusers] Application crashing on exit
REGAT-BARREL Aurélien
arbvtk at yahoo.fr
Wed Apr 28 13:01:52 EDT 2004
Hello,
Do you use multiple render windows ?
If yes, try this for each renWin :
vtkRendererCollection * rens = renWin->GetRenderers();
int nb = rens->GetNumberOfItems();
rens->InitTraversal();
for ( int i = 0; i < nb; ++i )
{
vtkRenderer * ren = rens->GetNextItem();
ren->RemoveAllProps();
}
Rupert Shute <Rupert.Shute at awe.co.uk> wrote:
Hi,
I'm trying to port an application from Linux to Windows. Under Linux all
is good, no problems. However, under Windows I get the following error when
exiting the application.
Foo.exe - Application Error.
The exception Privileged instruction.
(0x0000096) occurred in the application at location 0x0a122f42.
Removing the call to 'renWin->Delete();' from the destructor stops the
error. However, this is not a solution to the problem.
I'm using VTK4.4, QT3.3.1, Visual Studio .Net and Windows 2000
Anyone got any ideas?
Regards
Rupert
--
_______________________________________________________________________________
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 at 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.
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
Aurélien REGAT-BARREL
Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !
Créez votre adresse sur http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040428/d6a49b35/attachment.htm>
More information about the vtkusers
mailing list