Icon View Thread

The following is the text of the current message along with any replies.
Messages 21 to 21 of 21 total
Thread Access Violation when freeing table
Mon, Mar 27 2006 12:19 PMPermanent Link

Chris Erdal
"Bern Rudisill" <bernr@no-sp.am.exitcare dot com> wrote in news:61B457F2-
A1F5-4C9D-8D2A-CAF53FA3E3B4@news.elevatesoft.com:

> The datamodule is the owner, which is only freed when shutting down the
> program.
>
> Bern
>

Is it declared as a var in the header?

I had a problem like this when I embedded a form inherited from a base
version on another form also inherited from the base type. When closing the
outer form, it closed the embedded one. The embedded form freed a
Stringlist declared as a var in the header of the base form, so the outer
form got an AV when it tried to do the same.

I fixed it by making the Stringlist a property rather than a var.

--
Chris.
« Previous PagePage 3 of 3
Jump to Page:  1 2 3
Image