<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType 
namespaceuri="urn:schemas-microsoft-com:office:smarttags" 
name="country-region"></o:SmartTagType><o:SmartTagType 
namespaceuri="urn:schemas-microsoft-com:office:smarttags" 
name="place"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Banjoman Open Bold;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-AU vLink=purple link=blue bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=040575002-31032005><FONT face=Arial 
color=#0000ff size=2>Are you sure the parent is there...&nbsp; Check to see if 
the parent exists before adding child.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=040575002-31032005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=040575002-31032005><FONT face=Arial 
color=#0000ff size=2>&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=040575002-31032005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=040575002-31032005><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@ns3.123.co.nz 
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Ross 
Levis<BR><B>Sent:</B> Thursday, 31 March 2005 2:43 p.m.<BR><B>To:</B> NZ Borland 
Developers Group - Delphi List<BR><B>Subject:</B> [DUG] Invalid Pointer 
Operation<BR></FONT><BR></DIV>
<DIV></DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<DIV><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<DIV><FONT face=Arial size=2>It's one of those problems that's going to be hard 
to track down I think.&nbsp; A beta tester of mine is getting this occasionally 
in my software, and I have seen it once or twice over the last couple of months 
myself while testing, but I wasn't able to duplicate it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It's causing a ListView on my main form to stop 
updating and it goes blank, even though the program still functions correctly 
while the error is displayed.&nbsp; This is&nbsp;due to the fact that this 
application&nbsp;uses a timer for it's main operation, and the Timer still 
functions while the error is displayed.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>You can see the errors below sent to me by the 
user.&nbsp; The Access Violation occurs immediately after the Invalid Pointer 
Operation.</FONT></DIV></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG id=_x0000_i1025 height=126 
src="cid:040575002@31032005-119B" width=197><o:p></o:p></SPAN></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG id=_x0000_i1026 height=126 
src="cid:040575002@31032005-11A2" width=398><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 12pt"><o:p>The Access Violation is not a 400000 address so I 
can't use this to pinpoint a line in my code.&nbsp; I can't duplicate the error 
so can't step through code to track it down.&nbsp; I'm rather stumped.&nbsp; 
Does anyone have any ideas what it could be.</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 12pt"><o:p>Since the ListView is going blank, does that point 
to some problem in the ListView VCL code, which I must be causing 
somehow?</o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 12pt"><o:p><FONT face=Arial size=2><FONT color=#000000>Many 
thanks,<BR><BR>Ross 
Levis<BR></FONT></FONT></o:p></SPAN></FONT></P></DIV></BODY></HTML>