<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=656505413-25022004>Hi 
David,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=656505413-25022004>Thank 
you for your reply. But&nbsp;I don't understand what do you mean 
"register".</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=656505413-25022004>Is it 
the class&nbsp;instance which class&nbsp;uses vtk filters?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=656505413-25022004>If the 
instance is pointer, I can use delete []pointer. But if it is not pointer, only 
instance, what should I do?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=656505413-25022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=656505413-25022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=656505413-25022004>Thanks 
a lot!</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=656505413-25022004></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=656505413-25022004>Chunyan Jiang</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> david michell 
  [mailto:davidmichell@rediffmail.com]<BR><B>Gesendet:</B> Mittwoch, 25. Februar 
  2004 12:58<BR><B>An:</B> jiang<BR><B>Betreff:</B> Re: [vtkusers] Error message 
  when the application is ended<BR><BR></FONT></DIV>
  <P>jiang,<BR>you must have definitely forgotten something.<BR>maynot be 
  -&gt;Delete() because as you say they are in pairs.<BR>it can also come 
  because you must have registered a vtk object and did not unregister it. you 
  can unregister it by calling -&gt;Delete() after you are through with using 
  the registered object.(this is not the <BR>-&gt;Delete() which are in pairs 
  with ::New())<BR></P><BR><BR><A 
  href="http://clients.rediff.com/signature/track_sig.asp" target=_blank><IMG 
  height=74 hspace=0 
  src="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" 
  width=496 border=0 NOSEND="1"></A> </BLOCKQUOTE></BODY></HTML>