[vtkusers] Application crashing on exit
de Boer Ingo
I.deBoer at polytec.de
Wed May 5 08:56:43 EDT 2004
Hi Rupert,
ui... QT... I thought this was MS VC++
Sorry, I don't have QT to check that...
> ApplicationWindow::~ApplicationWindow()
> {
> delete tmpWidget; // Do I really need to delete this?
> ren1->Delete();
> renWin->Delete();
> delete vtkScrollView;
> }
But maybe this point is too late ?
In MS VC++ there is a function OnDestroy(). There, the window
handle is still alive. I delete my stuff there and not in the
destructor...Maybe you have the same trouble:
That in your destructor the window handle is gone already ?
greets
Ingo
---
Dr.-Ing. Ingo H. de Boer
Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax : ++49 7243 604 255
More information about the vtkusers
mailing list