[vtkusers] FW: Bug in SetRenderWindow(NULL) still exists?
John Platt
jcplatt at dsl.pipex.com
Sat May 10 16:34:20 EDT 2008
Hi,
Are you doing your VTK clean up in CMyView::OnDestroy() message handler?
John
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On
Behalf Of polys_poly at hotmail.com
Sent: 10 May 2008 14:25
To: VTK users group
Subject: [vtkusers] Bug in SetRenderWindow(NULL) still exists?
Hello,
I made an MDI application using MFC in which i create two different
windows and visualize some volumes. Closing the first window works just
fine. But when i try to close the second window i get the error:
ERROR: In ..\..\VTK_Source\Rendering\vtkWin32OpenGLRenderWindow.cxx,
line 129
vtkWin32OpenGLRenderWindow (0ABA54D8): wglMakeCurrent failed in Clean(),
error: 6
I found the following message
http://www.vtk.org/pipermail/vtk-developers/2003-December/002689.html
but couldn't find a solution for visual studio 2005.
Is this really a bug or is it something i am doing wrong.
I could really use some help here.
Thanks in advance. Polys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080510/94530af9/attachment.htm>
More information about the vtkusers
mailing list