Hello Brian,
Very astute, and if I had my wits about me (like 365 days ago) I would have been
aware of that. Yes, VET.refreshtree suffers from the freed item. So I cottoned
on a while back to use another listbox on the form which was already there.
Thanks again.
Al+

BW> You've created a list of strings temporarily and assigned it to some
BW> property within the VET thingy. If VET.storage is copying the strings into
BW> an internal object when you set the CheckedFileNames property that may be
BW> fine, but if it uses the list directly you may be setting yourself up for an
BW> access violation later. You have assigned
BW> CheckedFileNames to an object which you have subsequently freed. Is
BW> CheckedFileNames left holding a pointer to that now non-existent object?
BW> What happens if you call VET.RefreshTree again?

BW> ---------------------------------------------------------------------------
BW>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
BW>                   Website: http://www.delphi.org.nz
BW> To UnSub, send email to: [EMAIL PROTECTED] 
BW> with body of "unsubscribe delphi"
BW> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


-- 
Regards,
 Alistair+

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to