[vtkusers] problems using vtkBorlandRenderWindow

Leonardo Soto lesoto at utalca.cl
Tue Apr 15 15:42:18 EDT 2003


Hi vtkUsers,

     I've been using the vtkBorlandRenderWindow component for C++ Builder 6
and everything goes fine if I add no object to the renderer of the
component, but if I do so then it crashes when I close the application.

The exception is raised at:

 DummyCritSect.Lock();    // vtkPolyData::~vtkPolyData()

If I destroy the component before the form is closed (on the OnFormClose
event) then there is no exception but there are some resource leaks.


There is something not properly handled in the component, as you can see the
former exception happens even in the example given in the last vtk release:

 /Examples/GUI/Win32/vtkBorland/ProjectDemo/Form_Test.cpp



What can I do to get it right?
Is there anybody working in some vtk component for C++ Builder?
I would like to work with somebody to make an easy to use robust component.

Thanks,

Leonardo





More information about the vtkusers mailing list