The freeandnil procedure was introduced after D4, but I have the code for it. It seems to de-reference the pointer to an object and free it. Is this sufficient to properly dispose of a populated Tstringlist?
Steve Be excellent to each other and Party on!
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.