<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-7>
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" 
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I made an MDI&nbsp;application&nbsp;using&nbsp;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:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ERROR: In 
..\..\VTK_Source\Rendering\vtkWin32OpenGLRenderWindow.cxx, line 129</FONT></DIV>
<DIV><FONT face=Arial size=2>vtkWin32OpenGLRenderWindow (0ABA54D8): 
wglMakeCurrent failed in Clean(), error: 6</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I found the following message</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A 
title="http://www.vtk.org/pipermail/vtk-developers/2003-December/002689.html&#10;CTRL + Click to follow link" 
href="http://www.vtk.org/pipermail/vtk-developers/2003-December/002689.html">http://www.vtk.org/pipermail/vtk-developers/2003-December/002689.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>but couldn't find a solution for visual studio 
2005.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is this really a bug or is it something i am doing 
wrong.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I could really use some help here.</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance. Polys</FONT></DIV></BODY></HTML>