Are you sure the parent is there...  Check to see if the parent exists before adding child.
 
 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Levis
Sent: Thursday, 31 March 2005 2:43 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Invalid Pointer Operation

It's one of those problems that's going to be hard to track down I think.  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.
 
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.  This is due to the fact that this application uses a timer for it's main operation, and the Timer still functions while the error is displayed.
 
You can see the errors below sent to me by the user.  The Access Violation occurs immediately after the Invalid Pointer Operation.
 

 

 

The Access Violation is not a 400000 address so I can't use this to pinpoint a line in my code.  I can't duplicate the error so can't step through code to track it down.  I'm rather stumped.  Does anyone have any ideas what it could be.

 

Since the ListView is going blank, does that point to some problem in the ListView VCL code, which I must be causing somehow?

 

Many thanks,

Ross Levis

<<image001.jpg>>

<<image002.jpg>>

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to