On Wed, 29 Mar 2006 18:23:48 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:

> johnf wrote:
> > Using a terminal I start my app.  After opening and closing a form (not
> > the  main form) and then closing the main form I get the following:
> > 
> > [TGtkWidgetSet.Destroy] WARNING: There are 4 unreleased GDIObjects, a
> > detailed  dump follows:
> 
> This is an internal message for the gtkwidgetset only. When using the 
> LCL, this messasage should never occur.

This appear, when for instance you forgot to free four TBitmap, so it is not
an internal message only.


> 
> > I guess somehow I'm not closing the form correctly.  Can anyone provide
> > a clue  or a direction for me to check what is still open.  Or maybe a
> > link that  describes what steps to take to discover the unreleased
> > objects.
> 
> What is on your forms ? How are you closing your forms ?

Use heaptrc (compiler options -> linking).
If this does not show the unreleased memory, then compile the LCL clean with
-dDebugLCLComponents.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to